pqiv: fix condition for writing pqivrc file
Specifically, write the configuration if either settings or extraConfig are set.
This commit is contained in:
parent
19398e505a
commit
b7a7cd5dd1
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ in {
|
|||
home.packages = [ cfg.package ];
|
||||
|
||||
xdg.configFile."pqivrc" =
|
||||
mkIf (cfg.settings != { } && cfg.extraConfig != "") {
|
||||
mkIf (cfg.settings != { } || cfg.extraConfig != "") {
|
||||
text = lib.concatLines [
|
||||
(generators.toINI {
|
||||
mkKeyValue = key: value:
|
||||
|
|
Loading…
Reference in a new issue