This commit is contained in:
Tyrel Souza 2023-01-02 17:33:53 -05:00
parent 5218b26c8d
commit b586214052

View File

@ -11,15 +11,9 @@ update: update-neovim
update-os: update-os:
sudo nixos-rebuild switch sudo nixos-rebuild switch
update-homemanager:
home-manager switch
update-neovim: update-neovim:
nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync' nvim --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'
outdated: sync
sudo nixos-rebuild dry-build --upgrade
sync: sync:
sudo nix-channel --update sudo nix-channel --update
nix-channel --update nix-channel --update
@ -28,9 +22,6 @@ clean:
sudo nix-collect-garbage --delete-older-than 7d sudo nix-collect-garbage --delete-older-than 7d
home-manager expire-generations "-7 days" home-manager expire-generations "-7 days"
sup: # What's new?
nix-shell -p nvd --run 'nvd diff $$(ls -dv /nix/var/nix/profiles/system-*-link | tail -2)'
rebuild-macos: git-add rebuild-macos: git-add
./result/sw/bin/darwin-rebuild switch --flake _macos ./result/sw/bin/darwin-rebuild switch --flake _macos