build system from repo instead

This commit is contained in:
Simon Gardling 2025-03-23 21:55:47 -04:00
parent 6993dcff68
commit d89c8d8eae
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -1,19 +1,15 @@
update_all: system_update home_update sync_configs
update_all: system_update home_update
format_home:
nixfmt ~/.config/home-manager
nixfmt ./home-manager
format_system:
doas nixfmt /etc/nixos
nixfmt ./etcnixos
system_update:
nh os boot -u /etc/nixos
nh os boot -u ./etcnixos
home_update:
rm -fr ~/.gtkrc-2.0
nh home switch -u ~/.config/home-manager -- --impure
sync_configs: format_home format_system
rsync -a --delete /etc/nixos/ ~/projects/configs/dotfiles/etcnixos/
rsync -a --delete ~/.config/home-manager/ ~/projects/configs/dotfiles/home-manager/
nh home switch -u ./home-manager -- --impure