diff --git a/configuration.nix b/configurations.nix similarity index 100% rename from configuration.nix rename to configurations.nix diff --git a/krops.nix b/krops.nix index 57a3041..6822b5d 100644 --- a/krops.nix +++ b/krops.nix @@ -3,9 +3,10 @@ let # command that ensures we use flake.nix during switch command = targetPath: '' + echo 'nixos-rebuild build --flake ${targetPath} -L --keep-going' nix-shell \ -E "with import {}; mkShell { buildInputs = [ git (nixos { nix.package = nixFlakes; }).nixos-rebuild ]; }" \ - --run 'nixos-rebuild build --flake ${targetPath} -L --keep-going' + --run 'nixos-rebuild build --flake ${targetPath} --keep-going --impure' ''; secrets = name: { @@ -39,6 +40,7 @@ let pkgs.file = toString ./pkgs; system.file = toString ./system; "flake.nix".file = toString ./flake.nix; + "configurations.nix".file = toString ./configurations.nix; #backup-module.file = toString ~/dev/backup; backup-module.git = {