aboutsummaryrefslogblamecommitdiff
path: root/README.org
blob: 6946b9708afbd971f5ad2d7c86409559db6b610d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                  
 

                                                          
       
                    


                                    














                                                




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