New service for end-script.sh

This commit is contained in:
2026-03-04 09:08:05 +01:00
parent 95dbbc5326
commit 0776c77ae8
+1 -1
View File
@@ -1458,7 +1458,7 @@ The configuration is done in the home manager section.
#+end_src
** 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, ... }: {
systemd.user.services.endScript = lib.mkIf (builtins.pathExists ./assets/scripts/end_script.sh) {
description = "Run end script after Home Manager";