diff --git a/henrovnix_ok/end_script.nix b/henrovnix_ok/end_script.nix index 69d38e64a..f4d0f79e6 100644 --- a/henrovnix_ok/end_script.nix +++ b/henrovnix_ok/end_script.nix @@ -1,7 +1,7 @@ { lib, config, pkgs, flakeRoot ... }: let - scriptPath = flakeRoot + "./assets/scripts/end_script.sh"; - scriptExists = lib.fileExists "${scriptPath}"; + scriptPath = flakeRoot + "/assets/scripts/end_script.sh"; + scriptExists = lib.fileExists scriptPath; in { systemd.user.services.endScript = lib.mkIf scriptExists {