Recreated nix files
This commit is contained in:
+300
-301
File diff suppressed because it is too large
Load Diff
@@ -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,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 {
|
||||
|
||||
Reference in New Issue
Block a user