added setup and rebuilding to readme
This commit is contained in:
parent
373e2c7a88
commit
26b41feeef
17
README.md
17
README.md
|
@ -1,6 +1,21 @@
|
|||
# nix-config
|
||||
|
||||
# setup
|
||||
```bash
|
||||
git clone https://git.lorenzzz.dev/lorenzhohermuth/nix-config.git && cd nix-config
|
||||
|
||||
nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager
|
||||
nix-channel --update
|
||||
|
||||
nix-shell '<home-manager>' -A install
|
||||
```
|
||||
|
||||
# rebuild nixos
|
||||
```bash
|
||||
sudo nixos-rebuild switch -I nixos-config=./configuration.nix
|
||||
sudo nixos-rebuild switch --flake .
|
||||
```
|
||||
|
||||
# rebuild home-manager
|
||||
```bash
|
||||
home-manager switch --flake .
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue