Update nixpkgs
All checks were successful
Check Flake / check-flake (push) Successful in 53s

This commit is contained in:
2024-03-16 11:30:31 -06:00
parent 99904d0066
commit efe50be604
6 changed files with 39 additions and 40 deletions

View File

@@ -1,15 +1,22 @@
# Lockfile utils
.PHONY: update-lockfile
update-lockfile:
nix flake update --commit-lock-file
.PHONY: update-lockfile-without-commit
update-lockfile-without-commit:
nix flake update
# Agenix utils
.PHONY: edit-secret
edit-secret:
cd secrets && agenix -e $(filter-out $@,$(MAKECMDGOALS))
.PHONY: rekey-secrets
rekey-secrets:
cd secrets && agenix -r
# NixOS utils
.PHONY: clean-old-nixos-profiles
clean-old-nixos-profiles:
doas nix-collect-garbage -d