diff options
-rw-r--r-- | README.md | 40 | ||||
-rw-r--r-- | README.org | 29 |
2 files changed, 40 insertions, 29 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 +``` diff --git a/README.org b/README.org deleted file mode 100644 index 6946b97..0000000 --- a/README.org +++ /dev/null @@ -1,29 +0,0 @@ -#+TITLE: world - nix configuration - -[[https://ci.fcuny.net/api/badges/fcuny/world/status.svg]] - -* nixos -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 -* templates -To use one of the template, run: -#+begin_src sh -nix flake init -t github:fcuny/world#rust -#+end_src |