better justfile

This commit is contained in:
Simon Gardling 2025-02-05 13:26:39 -05:00
parent 34a09327ad
commit 06fb4b686f
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -7,13 +7,11 @@ format_system:
doas nixfmt /etc/nixos
system_update:
doas nix flake update --flake /etc/nixos
nh os boot /etc/nixos -- --impure
nh os boot -u /etc/nixos
home_update:
nix flake update --flake ~/.config/home-manager
rm -fr ~/.gtkrc-2.0
nh home switch ~/.config/home-manager -- --impure
nh home switch -u ~/.config/home-manager -- --impure
sync_configs: format_home format_system
rsync -a --delete /etc/nixos/ ~/projects/configs/dotfiles/etcnixos/