pueue: fix for empty settings

PR #3230
This commit is contained in:
li 2022-09-17 04:48:51 +00:00 committed by Robert Helgesson
parent cd2a826f33
commit 63cef13e49
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
1 changed files with 2 additions and 1 deletions

View File

@ -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 = {