diff --git a/henrovnix_ok/README.org b/henrovnix_ok/README.org index f67ae22a7..84f81ed4f 100755 --- a/henrovnix_ok/README.org +++ b/henrovnix_ok/README.org @@ -1457,26 +1457,6 @@ The configuration is done in the home manager section. ** Setting the config #+begin_src nix :tangle configuration/end_script.nix :noweb tangle :mkdirp yes -{ lib, ... }: - -let - scriptPath = "/path/to/your/script"; - scriptExists = lib.fileExists scriptPath; -in -{ - systemd.user.services.endScript = lib.mkIf scriptExists { - description = "Run end script after Home Manager"; - after = [ - "home-manager-activate.service" - "graphical-session.target" - ]; - serviceConfig = { - Type = "oneshot"; - RemainAfterExit = true; - ExecStart = "${scriptPath}"; - }; - }; -} #+end_src