New service for end-script.sh
This commit is contained in:
@@ -1458,7 +1458,7 @@ The configuration is done in the home manager section.
|
|||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Setting the config
|
** Setting the config
|
||||||
#+begin_src nix :tangle configuration/end-script.nix :noweb tangle :mkdirp yes
|
#+begin_src nix :tangle configuration/end_script.nix :noweb tangle :mkdirp yes
|
||||||
{ config, pkgs, lib, ... }: {
|
{ config, pkgs, lib, ... }: {
|
||||||
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
|
||||||
description = "Run end script after Home Manager";
|
description = "Run end script after Home Manager";
|
||||||
|
|||||||
Reference in New Issue
Block a user