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 that ensures we use flake.nix during switch
|
||||||
command = targetPath: ''
|
command = targetPath: ''
|
||||||
|
echo 'nixos-rebuild build --flake ${targetPath} -L --keep-going'
|
||||||
nix-shell \
|
nix-shell \
|
||||||
-E "with import <nixpkgs> {}; mkShell { buildInputs = [ git (nixos { nix.package = nixFlakes; }).nixos-rebuild ]; }" \
|
-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: {
|
secrets = name: {
|
||||||
|
@ -39,6 +40,7 @@ let
|
||||||
pkgs.file = toString ./pkgs;
|
pkgs.file = toString ./pkgs;
|
||||||
system.file = toString ./system;
|
system.file = toString ./system;
|
||||||
"flake.nix".file = toString ./flake.nix;
|
"flake.nix".file = toString ./flake.nix;
|
||||||
|
"configurations.nix".file = toString ./configurations.nix;
|
||||||
|
|
||||||
#backup-module.file = toString ~/dev/backup;
|
#backup-module.file = toString ~/dev/backup;
|
||||||
backup-module.git = {
|
backup-module.git = {
|
||||||
|
|
Loading…
Reference in a new issue