From 0edd4caf4799659b8252343dad506d61acbfcbf7 Mon Sep 17 00:00:00 2001 From: Sebastian Pietras Date: Tue, 16 Dec 2025 23:17:28 +0100 Subject: [PATCH] Changed `substituteAll` to `replaceVars` --- src/src/hosts/dummy/modules/install/default.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/src/hosts/dummy/modules/install/default.nix b/src/src/hosts/dummy/modules/install/default.nix index 78c2b6d..3bc39c3 100644 --- a/src/src/hosts/dummy/modules/install/default.nix +++ b/src/src/hosts/dummy/modules/install/default.nix @@ -16,11 +16,7 @@ # Load the script with substituted values text = builtins.readFile ( # Substitute values in the script - pkgs.substituteAll { - # Use this file as source - src = ./install.sh; - - # Provide values to substitute + pkgs.replaceVars ./install.sh { flake = inputs.self; host = config.constants.name; keysFile = config.constants.secrets.sops.age.file;