mirror of
https://codeberg.org/geekygays/nixconf.git
synced 2024-11-04 15:47:49 +00:00
20 lines
378 B
Markdown
20 lines
378 B
Markdown
|
# Geeky Gays Server NixOS Configs
|
||
|
|
||
|
To update using latest pushed config:
|
||
|
|
||
|
```bash
|
||
|
sudo nix flake lock nixconf
|
||
|
sudo nixos-rebuild boot --flake nixconf
|
||
|
sudo reboot
|
||
|
```
|
||
|
|
||
|
To test an update that hasn't been pushed:
|
||
|
|
||
|
```bash
|
||
|
# Seriously, make a commit first!
|
||
|
# Even a temporary one that will be ammended before pushing.
|
||
|
git commit -a
|
||
|
sudo nixos-rebuild boot --flake .
|
||
|
sudo reboot
|
||
|
```
|