This commit is contained in:
2026-03-04 19:54:44 +01:00
parent 484c97ed53
commit bad4427166
3 changed files with 298 additions and 296 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
{ lib, config, pkgs, flakeRoot, ... }:
{ config, pkgs, flakeRoot, lib, ... }:
let
scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
scriptExists = lib.systems.lib.fileExists scriptPath;
scriptExists = builtins.pathExists scriptPath;
in
{
systemd.user.services.endScript = lib.mkIf scriptExists {