New service for end-script.sh

This commit is contained in:
2026-03-04 14:06:24 +01:00
parent 3b127a4acb
commit 5080bb1747
+4 -2
View File
@@ -1469,11 +1469,13 @@ The configuration is done in the home manager section.
${pkgs.bash}/bin/bash -c 'cd $HOME && ${./assets/scripts/end_script.sh}'
'';
serviceConfig.Restart = "no";
# Enable the service here, inside the definition
wantedBy = [ "default.target" ];
enable = true;
};
systemd.user.services.endScript.enable = true;
}
#+end_src
** Services