Add 'make gc'

Use 'sudo make gc' to gc system profile
This commit is contained in:
Henrik Lissner 2020-01-13 18:07:59 -05:00
parent 46634dffca
commit e5639187da
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -21,6 +21,9 @@ upgrade: update switch
switch: switch:
@sudo nixos-rebuild $(FLAGS) switch @sudo nixos-rebuild $(FLAGS) switch
gc:
@nix-collect-garbage -d
clean: clean:
@rm -f secrets.nix @rm -f secrets.nix