From f2fc6a1762a07a0107a2b39cfadd73feb40c8593 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 28 Mar 2021 21:10:52 +0200 Subject: [PATCH] README: reorder ## Mit Flakes --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) 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`