From 90f48d36a7f80b7cd3c4e93e1c4b2438213ddf97 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Fri, 24 Sep 2021 07:02:16 +0200 Subject: [PATCH] it works --- configuration.nix => configurations.nix | 0 krops.nix | 4 +++- 2 files changed, 3 insertions(+), 1 deletion(-) rename configuration.nix => configurations.nix (100%) 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 = {