aboutsummaryrefslogblamecommitdiff
path: root/README.org
blob: 41f634267ddf4126d6dc6fb9028009cb05bc3168 (plain) (tree)
1
2
3
4
5
6
7
                                  

       
                    


                                    














                                                




                                         
#+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