start reworking justfile

This commit is contained in:
Markus Heurung 2024-07-17 17:21:42 +02:00
parent f1c69c8cf8
commit 4cc9a13e7f

View file

@ -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