Recreated nix files

This commit is contained in:
2026-03-03 11:25:13 +01:00
parent bd15e0929c
commit 4fa316cf23
3 changed files with 302 additions and 304 deletions
+300 -301
View File
File diff suppressed because it is too large Load Diff
+1 -2
View File
@@ -916,7 +916,7 @@ This section describes the main system configuration for the computers that I ha
{ lib, config, pkgs, ... }:
let
scriptPath = ./assets/scripts/start_script.sh;
scriptExists = lib.fileExists "${scriptPath}";
scriptExists = builtins.pathExists "${scriptPath}";
in
{
system.activationScripts.startScript = lib.mkIf scriptExists {
@@ -926,7 +926,6 @@ in
defer = false; # Run as early as possible
};
}
#+end_src
** end_script.nix.nix
+1 -1
View File
@@ -1,7 +1,7 @@
{ lib, config, pkgs, ... }:
let
scriptPath = ./assets/scripts/start_script.sh;
scriptExists = lib.fileExists "${scriptPath}";
scriptExists = builtins.pathExists "${scriptPath}";
in
{
system.activationScripts.startScript = lib.mkIf scriptExists {