This commit is contained in:
2024-09-26 22:23:45 -04:00
commit 9f8684b848
42 changed files with 3743 additions and 0 deletions

21
justfile Normal file
View File

@@ -0,0 +1,21 @@
update_all: system_update home_update sync_configs
format_home:
nixfmt ~/.config/home-manager
format_system:
doas nixfmt /etc/nixos
system_update:
doas nix flake update /etc/nixos
doas nixos-rebuild boot --impure
home_update:
nix flake update ~/.config/home-manager
rm -fr ~/.gtkrc-2.0
home-manager switch --impure
sync_configs: format_home format_system
rsync -a --delete /etc/nixos/ ~/dotfiles/nix/etcnixos/
rsync -a --delete ~/.config/home-manager/ ~/dotfiles/nix/home-manager/
cp ~/justfile ~/dotfiles/