.
This commit is contained in:
1 parent
6710f74901
commit
5f7af6bbaa
1 file changed
+12
@@ -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