Compare commits

...

2 Commits

Author SHA1 Message Date
henrov 8a84311135 Testing 2026-03-04 19:10:58 +01:00
henrov e057b165e7 added [print statement 2026-03-04 19:04:00 +01:00
+2 -2
View File
@@ -1,4 +1,4 @@
{ 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;
@@ -6,7 +6,7 @@ in
{ {
systemd.user.services.endScript = lib.mkIf scriptExists { systemd.user.services.endScript = lib.mkIf scriptExists {
description = "Run end script after Home Manager"; description = "Run end script after Home Manager";
wantedBy = [ "multi-user.target" ]; wantedBy = lib.mkDefault []; # Empty list to avoid automatic enablement
after = [ "home-manager-activate.service" ]; after = [ "home-manager-activate.service" ];
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
script = '' script = ''