diff --git a/Makefile b/Makefile index 7017609..42f1e04 100644 --- a/Makefile +++ b/Makefile @@ -24,4 +24,9 @@ clean-old-nixos-profiles: # Garbage Collect .PHONY: gc gc: - nix store gc \ No newline at end of file + nix store gc + +# Update a flake input by name (ex: 'nixpkgs') +.PHONY: update-input +update-input: + nix flake update $(filter-out $@,$(MAKECMDGOALS)) \ No newline at end of file