1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00

docs: added chnum to readme

This commit is contained in:
Thomas Boerger 2022-09-27 22:44:54 +02:00
parent f8c4ac8171
commit fe13c3d718
No known key found for this signature in database
GPG Key ID: 09745AFF9D63C79B

@ -15,7 +15,26 @@ cp /mnt/secrets/ssh/id_* $HOME/.ssh/
chmod u=rw,g=,o= $HOME/.ssh/id_*
```
## Prepare
## Chnum
### Bootstrap
```console
sudo nix-shell --packages nixUnstable
bash -c "$(curl -fsSL https://raw.githubusercontent.com/tboerger/nixos-config/master/scripts/chnum-partitions)"
nixos-install --root /mnt --flake github:tboerger/nixos-config#chnum
```
### Updates
If the repository had been cloned you could just execute `make switch`,
otherwise there is still this long option to update the deployment:
```console
nixos-rebuild switch \
--flake github:tboerger/nixos-config#chnum
```
## Asgard