nixos-config/Makefile
Sridhar Ratnakumar 533e4b3ad6 disable 'make'
2022-11-16 18:08:41 -05:00

13 lines
366 B
Makefile

all:
echo
# Update the primary inputs
#
# Typically run as: `make update && nix run` followed by a git commit.
update:
nix flake lock --update-input nixpkgs --update-input darwin --update-input home-manager
# Delete all but the last few NixOS generations
freeupboot:
sudo nix-env -p /nix/var/nix/profiles/system --delete-generations +2
sudo nixos-rebuild boot