Timers, fix timers creating files when disabled

They aren't enabled--they should act like it.
This commit is contained in:
Julia Lange 2025-03-18 14:45:09 -07:00
parent 6b73404361
commit 25c92c2d9e
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ

View file

@ -51,7 +51,7 @@ let rootPath = ./.; in
}; };
}; };
}; };
xdg.configFile."timer-scripts" = { xdg.configFile."timer-scripts" = lib.mkIf (config.timer.enableQuarterly || config.timer.enableHourly) {
source = rootPath + "/scripts"; source = rootPath + "/scripts";
target = "timer_scripts/"; target = "timer_scripts/";
executable = true; executable = true;