.
This commit is contained in:
@@ -1457,6 +1457,18 @@ 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, ... }:
|
||||
{
|
||||
systemd.user.services.endScript = {
|
||||
description = "Run end script after Home Manager";
|
||||
after = [ "home-manager-activate.service" "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
ExecStart = "/path/to/your/script";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
#+end_src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user