diff options
Diffstat (limited to 'README.org')
-rw-r--r-- | README.org | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/README.org b/README.org index 39660ed..9e59a75 100644 --- a/README.org +++ b/README.org @@ -1,7 +1,22 @@ #+TITLE: world - nix configuration * nixos -To rebuild the host and home-manager: +To rebuild the host: #+begin_src sh sudo nixos-rebuild switch --flake . #+end_src + +or +#+begin_src sh +nix-rebuild-host +#+end_src +* home-manager +To rebuild the configuration for =home-manager=: +#+begin_src sh +home-manager switch --flake . +#+end_src +* update flakes +To update the flakes: +#+begin_src sh +nix flake update +#+end_src |