README: always nix run .#...

This commit is contained in:
Astro 2022-06-21 15:06:41 +02:00
parent a9c85537f5
commit dcecf63bcd
1 changed files with 2 additions and 2 deletions

View File

@ -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.