aaa?
This commit is contained in:
21
justfile
Normal file
21
justfile
Normal 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/
|
||||
Reference in New Issue
Block a user