mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
pqiv: fix condition for writing pqivrc file
Specifically, write the configuration if either settings or
extraConfig are set.
(cherry picked from commit b7a7cd5dd1)
This commit is contained in:
committed by
Robert Helgesson
parent
80b0fdf483
commit
613691f285
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user