diff --git a/Makefile b/Makefile index 593196f..29ea69a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all fmt fmt-nix fmt-shell lint lint-shell check clean update gc +.PHONY: all fmt fmt-nix fmt-shell lint lint-shell check clean apply update gc export NIX_PAGER= all: fmt lint @@ -27,6 +27,10 @@ check: clean: rm -rf .direnv result +# Appliquer la config sans mise à jour ni nettoyage +apply: + sudo nixos-rebuild switch + # Mise à jour NixOS + home-manager + garbage collect update: sudo nixos-rebuild switch --upgrade-all