From 9cbe8a28881c39e62f21873d25eb474ba4c33a54 Mon Sep 17 00:00:00 2001 From: li <@li:maisiliym.niks> Date: Sat, 17 Sep 2022 04:48:51 +0000 Subject: [PATCH] pueue: fix for empty settings PR #3230 (cherry picked from commit 63cef13e495776a0e4d8da0cb69554ed4fe70c37) --- modules/services/pueue.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/services/pueue.nix b/modules/services/pueue.nix index b812e271..3375f49d 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 = {