This commit is contained in:
2026-03-04 19:01:18 +01:00
parent 34f8816b16
commit 1760430d0e
+2 -2
View File
@@ -1,7 +1,7 @@
{ lib, config, pkgs, flakeRoot ... }: { lib, config, pkgs, flakeRoot ... }:
let let
scriptPath = flakeRoot + "./assets/scripts/end_script.sh"; scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
scriptExists = lib.fileExists "${scriptPath}"; scriptExists = lib.fileExists scriptPath;
in in
{ {
systemd.user.services.endScript = lib.mkIf scriptExists { systemd.user.services.endScript = lib.mkIf scriptExists {