README: reorder ## Mit Flakes
This commit is contained in:
parent
d04f56f4c1
commit
f2fc6a1762
17
README.md
17
README.md
|
@ -32,19 +32,22 @@ nix registry add c3d2 git+https://gitea.c3d2.de/C3D2/nix-config
|
|||
|
||||
Beide failen bei Activation des neuen Profils. (TODO)
|
||||
|
||||
## Mit flakes
|
||||
|
||||
### Remote deployment
|
||||
Use `nix run` with one of the deploy scripts exported by the flake,
|
||||
for example: `nix run c3d2#glotzbert-nixos-rebuild switch`. Use `nix flake show c3d2`
|
||||
to show what is available. Note that the deploy scripts only work if
|
||||
the target machines already has flakes enabled.
|
||||
## Mit Flakes
|
||||
|
||||
### Local deployment
|
||||
|
||||
Running `nixos-rebuild --flake c3d2 switch` on a machine should be sufficient
|
||||
to update that machine to the current configuration and Nixpkgs revision.
|
||||
|
||||
### Remote deployment
|
||||
|
||||
Use `nix run` with one of the deploy scripts exported by the flake,
|
||||
for example: `nix run c3d2#glotzbert-nixos-rebuild switch`. Use `nix flake show c3d2`
|
||||
to show what is available. Note that the deploy scripts only work if
|
||||
the target machines already has flakes enabled.
|
||||
|
||||
|
||||
|
||||
## Mit NixOps
|
||||
|
||||
The official way for deployment is through `deployer.serv.zentralwerk.org`
|
||||
|
|
Loading…
Reference in New Issue