about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-03-03 17:52:06 -0800
committerFranck Cuny <franck@fcuny.net>2023-03-03 17:52:06 -0800
commit75370337b862531894f202eec30b21ccd60a1fdf (patch)
treeb224677644d03501e42e0bb3d2c5d52a121ee9d2 /README.md
parentref(hosts/tahoe): don't install sendsms (diff)
downloadworld-75370337b862531894f202eec30b21ccd60a1fdf.tar.gz
meta: convert README from org-mode to markdown
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..4884d66
--- /dev/null
+++ b/README.md
@@ -0,0 +1,40 @@
+Configurations for my machines.
+
+## nixos
+
+To rebuild the host:
+
+``` sh
+sudo nixos-rebuild switch  --flake .
+```
+
+or
+
+``` sh
+nix-rebuild-host
+```
+
+## home-manager
+
+To rebuild the configuration for `home-manager`:
+
+``` sh
+home-manager switch --flake .
+```
+
+## update flakes
+
+To update the flakes:
+
+``` sh
+nix flake update
+```
+
+## templates
+
+To use one of the template, run:
+
+``` sh
+nix flake init -t .#rust
+nix flake init -t .#go
+```