about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-21 13:35:11 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-21 13:35:11 -0800
commit7a9302bf20220f96be30a404ba4ef71441238142 (patch)
treead2f0d31118fde27e7a515a9736725f629e86757
parentwireguard: module and peers configurations (diff)
downloadworld-7a9302bf20220f96be30a404ba4ef71441238142.tar.gz
docs: commands to run
-rw-r--r--README.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.org b/README.org
index f9c285c..d35c717 100644
--- a/README.org
+++ b/README.org
@@ -1 +1,12 @@
 #+TITLE: world - nix configuration
+
+* nixos
+To rebuild the host:
+#+begin_src sh
+sudo nixos-rebuild switch  --flake .
+#+end_src
+* home manager
+To build the configuration for the current user:
+#+begin_src sh
+home-manager switch --flake .
+#+end_src