README: always nix run .#...
This commit is contained in:
parent
a9c85537f5
commit
dcecf63bcd
|
@ -74,14 +74,14 @@ to update that machine to the current configuration and Nixpkgs revision.
|
|||
For every host that has a `nixosConfiguration` in our Flake, there are
|
||||
two scripts that can be run for deployment via ssh.
|
||||
|
||||
- `nix run c3d2#glotzbert-nixos-rebuild switch`
|
||||
- `nix run .#glotzbert-nixos-rebuild switch`
|
||||
|
||||
Copies the current state to build on the target system. This may
|
||||
fail due to eg. container resource limits.
|
||||
|
||||
The target must already be a nixFlakes system.
|
||||
|
||||
- `nix run c3d2#glotzbert-nixos-rebuild-local switch`
|
||||
- `nix run .#glotzbert-nixos-rebuild-local switch`
|
||||
|
||||
Builds locally, then uses `nix copy` to transfer the new NixOS
|
||||
system to the target.
|
||||
|
|
Loading…
Reference in New Issue