mirror of
https://codeberg.org/geekygays/nixconf.git
synced 2024-11-10 10:32:19 +00:00
19 lines
378 B
Markdown
19 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
|
|
```
|