diff --git a/justfile b/justfile index 46539ed..ad5c97e 100644 --- a/justfile +++ b/justfile @@ -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