From a5db59964dd5ac8dfe3d72be627109629ea16a67 Mon Sep 17 00:00:00 2001 From: Pierre Martin Date: Fri, 17 Apr 2026 10:35:31 +0200 Subject: [PATCH] =?UTF-8?q?chore:=C2=A0add=20apply=20target=20to=20Makefil?= =?UTF-8?q?e=20for=20"just=20applying"=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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