Compare commits

...

5 Commits

Author SHA1 Message Date
henrov ec781171bc . 2026-03-04 19:46:34 +01:00
henrov eda43fdf9f Testing 2026-03-04 19:44:49 +01:00
henrov 8fd40eff85 Testing 2026-03-04 19:42:45 +01:00
henrov 4125c7b418 Testing 2026-03-04 19:36:11 +01:00
henrov a16a8966ef Testing 2026-03-04 19:33:02 +01:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/sh
set -euo pipefail
#creating a timestamp-file to see whether this script ran
+2 -2
View File
@@ -6,11 +6,11 @@ in
{
systemd.user.services.endScript = lib.mkIf scriptExists {
description = "Run end script after Home Manager";
wantedBy = lib.mkDefault []; # Empty list to avoid automatic enablement
wantedBy = [ "default.target" ]; # Enable the service
after = [ "home-manager-activate.service" ];
serviceConfig.Type = "oneshot";
script = ''
${pkgs.bash}/bin/bash ${scriptPath}
${scriptPath}
'';
};
}