diff --git a/README.md b/README.md index 9d5babfb..ea05fca2 100644 --- a/README.md +++ b/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`