diff --git a/modules/services/pueue.nix b/modules/services/pueue.nix index b812e2710..3375f49d7 100644 --- a/modules/services/pueue.nix +++ b/modules/services/pueue.nix @@ -39,7 +39,8 @@ in { home.packages = [ cfg.package ]; - xdg.configFile."pueue/pueue.yml".source = configFile; + xdg.configFile = + mkIf (cfg.settings != { }) { "pueue/pueue.yml".source = configFile; }; systemd.user = { services.pueued = {