Preventing config errors
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{ lib, config, pkgs, flakeRoot ... }:
|
||||
let
|
||||
scriptPath = ./assets/scripts/end_script.sh;
|
||||
scriptPath = flakeRoot + "./assets/scripts/end_script.sh";
|
||||
scriptExists = lib.fileExists "${scriptPath}";
|
||||
in
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user