This commit is contained in:
2026-03-04 09:08:09 +01:00
parent 0776c77ae8
commit b8cc10e2b0
2 changed files with 304 additions and 290 deletions
+290 -290
View File
File diff suppressed because it is too large Load Diff
+14
View File
@@ -0,0 +1,14 @@
{ config, pkgs, lib, ... }: {
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
description = "Run end script after Home Manager";
wantedBy = [ "default.target" ];
after = [ "home-manager-henrov.service" ];
serviceConfig.Type = "oneshot";
script = ''
${pkgs.bash}/bin/bash -c 'cd $HOME && ${./assets/scripts/end_script.sh}'
'';
serviceConfig.Restart = "no";
};
systemd.user.services.endScript.enable = true;
}