From 75370337b862531894f202eec30b21ccd60a1fdf Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 3 Mar 2023 17:52:06 -0800 Subject: meta: convert README from org-mode to markdown --- README.md | 40 ++++++++++++++++++++++++++++++++++++++++ README.org | 29 ----------------------------- 2 files changed, 40 insertions(+), 29 deletions(-) create mode 100644 README.md delete mode 100644 README.org 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 -- cgit 1.4.1