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