blob: 41f634267ddf4126d6dc6fb9028009cb05bc3168 (
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
|
#+TITLE: world - nix configuration
* 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
|