kanshi: fix check for empty settings

Fixes regression introduced by me in 74b3817.
This commit is contained in:
Ben Brown 2026-07-03 17:06:17 +01:00 committed by Austin Horstman
parent 3a60d513d0
commit 1c9ddc707c

View file

@ -363,7 +363,7 @@ in
PartOf = cfg.systemdTarget;
Requires = cfg.systemdTarget;
After = cfg.systemdTarget;
X-Reload-Triggers = lib.mkIf (cfg.settings != { }) [
X-Reload-Triggers = lib.mkIf (cfg.settings != [ ]) [
"${config.xdg.configFile.${configPath}.source}"
];
};