dotfiles/Makefile

30 lines
465 B
Makefile
Raw Normal View History

2023-01-02 21:08:34 +00:00
## Setup
.PHONY: rebuild-macos
## Management
git-add:
git add .
update: update-neovim
update-os:
sudo nixos-rebuild switch
update-neovim:
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
sync:
sudo nix-channel --update
nix-channel --update
clean:
sudo nix-collect-garbage --delete-older-than 7d
home-manager expire-generations "-7 days"
rebuild-macos: git-add
2023-01-03 06:53:17 +00:00
./rebuild-macos.sh
2023-01-02 21:08:34 +00:00
rebuild-ubuntu: git-add
2023-01-03 06:53:17 +00:00
./rebuild-ubuntu.sh