From b7a7cd5dd1a74a9fe86ed4e016f91c78483b527a Mon Sep 17 00:00:00 2001 From: EmmChriss <42001129+EmmChriss@users.noreply.github.com> Date: Wed, 25 Dec 2024 13:20:03 +0200 Subject: [PATCH] pqiv: fix condition for writing pqivrc file Specifically, write the configuration if either settings or extraConfig are set. --- modules/programs/pqiv.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/pqiv.nix b/modules/programs/pqiv.nix index a99b28de..27594c4f 100644 --- a/modules/programs/pqiv.nix +++ b/modules/programs/pqiv.nix @@ -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: