Initial commit of flake-based NixOS config for the whole haus
This commit is contained in:
32
justfile
Normal file
32
justfile
Normal file
@@ -0,0 +1,32 @@
|
||||
update-config:
|
||||
alejandra .
|
||||
nix flake update
|
||||
git add .
|
||||
git commit
|
||||
sudo nixos-rebuild switch --upgrade --flake ~/flakescfg
|
||||
git push
|
||||
|
||||
update:
|
||||
nix flake update
|
||||
git add .
|
||||
git commit -m "nix flake update"
|
||||
sudo nixos-rebuild switch --upgrade --flake ~/flakescfg
|
||||
git push
|
||||
|
||||
update-and-reboot:
|
||||
nix flake update
|
||||
git add .
|
||||
git commit -m "nix flake update"
|
||||
sudo nixos-rebuild boot --upgrade --flake ~/flakescfg
|
||||
git push
|
||||
|
||||
update-config-and-reboot:
|
||||
alejandra .
|
||||
nix flake update
|
||||
git add .
|
||||
git commit
|
||||
sudo nixos-rebuild boot --upgrade --flake ~/flakescfg
|
||||
git push
|
||||
|
||||
upgrade:
|
||||
sudo nixos-rebuild switch --upgrade --flake ~/flakescfg
|
||||
Reference in New Issue
Block a user