pueue: fix for empty settings

PR #3230

(cherry picked from commit 63cef13e49)
This commit is contained in:
li 2022-09-17 04:48:51 +00:00 committed by Robert Helgesson
parent e891b060e7
commit 9cbe8a2888
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -39,7 +39,8 @@ in {
home.packages = [ cfg.package ]; home.packages = [ cfg.package ];
xdg.configFile."pueue/pueue.yml".source = configFile; xdg.configFile =
mkIf (cfg.settings != { }) { "pueue/pueue.yml".source = configFile; };
systemd.user = { systemd.user = {
services.pueued = { services.pueued = {