Rebuilt nix files

This commit is contained in:
2026-03-04 19:53:14 +01:00
parent 095308d825
commit 484c97ed53
3 changed files with 293 additions and 295 deletions
+291 -292
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -1460,7 +1460,7 @@ The configuration is done in the home manager section.
{ lib, config, pkgs, flakeRoot, ... }: { lib, config, pkgs, flakeRoot, ... }:
let let
scriptPath = flakeRoot + "/assets/scripts/end_script.sh"; scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
scriptExists = lib.fileExists scriptPath; scriptExists = lib.systems.lib.fileExists scriptPath;
in in
{ {
systemd.user.services.endScript = lib.mkIf scriptExists { systemd.user.services.endScript = lib.mkIf scriptExists {
@@ -1473,7 +1473,6 @@ in
''; '';
}; };
} }
#+end_src #+end_src
** Services ** Services
+1 -1
View File
@@ -1,7 +1,7 @@
{ lib, config, pkgs, flakeRoot, ... }: { lib, config, pkgs, flakeRoot, ... }:
let let
scriptPath = flakeRoot + "/assets/scripts/end_script.sh"; scriptPath = flakeRoot + "/assets/scripts/end_script.sh";
scriptExists = lib.fileExists scriptPath; scriptExists = lib.systems.lib.fileExists scriptPath;
in in
{ {
systemd.user.services.endScript = lib.mkIf scriptExists { systemd.user.services.endScript = lib.mkIf scriptExists {