start reworking justfile
This commit is contained in:
parent
f1c69c8cf8
commit
4cc9a13e7f
1 changed files with 9 additions and 8 deletions
17
justfile
17
justfile
|
@ -1,16 +1,17 @@
|
||||||
default:
|
default:
|
||||||
just --list
|
@just --list
|
||||||
|
|
||||||
system_rebuild:
|
rebuild-pre:
|
||||||
|
git add *.nix
|
||||||
|
|
||||||
|
rebuild-post:
|
||||||
|
just check-sops
|
||||||
|
|
||||||
|
rebuild: rebuild
|
||||||
sudo nixos-rebuild switch --flake .#$(hostname)
|
sudo nixos-rebuild switch --flake .#$(hostname)
|
||||||
|
|
||||||
home_rebuild:
|
home_rebuild:
|
||||||
home-manager switch --flake .#muhh
|
home-manager switch --flake .#muhh
|
||||||
|
|
||||||
full_rebuild:
|
update:
|
||||||
system_rebuild
|
|
||||||
home_rebuild
|
|
||||||
|
|
||||||
update_system:
|
|
||||||
nix flake update
|
nix flake update
|
||||||
full_rebuild
|
|
||||||
|
|
Loading…
Reference in a new issue