it works
This commit is contained in:
parent
c6f9e7530c
commit
90f48d36a7
2 changed files with 3 additions and 1 deletions
|
@ -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 <nixpkgs> {}; 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 = {
|
||||
|
|
Loading…
Reference in a new issue