about summary refs log tree commit diff
path: root/README.org
blob: 6946b9708afbd971f5ad2d7c86409559db6b610d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#+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