update the shell
This commit is contained in:
parent
9f388d75d8
commit
754e4c945e
2 changed files with 6 additions and 29 deletions
|
|
@ -52,10 +52,11 @@ pkgs.mkShell {
|
|||
|
||||
# push the flake to the remote system
|
||||
nixos-anywhere --\
|
||||
--flake .#$(HOST)\
|
||||
--build-on remote\
|
||||
--generate-hardware-config nixos-generate-config ./hosts/$(HOST)/hardware-configuration.nix\
|
||||
--target-host $(USER)@$(IP)
|
||||
--flake .#$HOST\
|
||||
--build-on remote\
|
||||
--copy-host-keys\
|
||||
--generate-hardware-config nixos-generate-config ./hosts/$HOST/hardware-configuration.nix\
|
||||
--target-host $USER@$IP
|
||||
'')
|
||||
|
||||
(pkgs.writeShellScriptBin "-deploy" ''
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue