From 178b51d06070493a0e47be4b32bbe70daac3cb74 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Tue, 3 Oct 2023 09:41:40 +0200 Subject: [PATCH] build: Instruct home-manager to automatically back up existing files Signed-off-by: Christoph Heiss --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 30ac58b..0acf08d 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ deploy-standalone: exit 1; \ fi $(call nix-run,home-manager,\ - --flake ./system/home-manager/standalone/$(HOST) $(HOME_MANAGER_FLAGS) switch) + --flake ./system/home-manager/standalone/$(HOST) $(HOME_MANAGER_FLAGS) switch -b bak) upload-secrets: @if [ -z "$(M)" ]; then echo 'no machine specified using M=' 2>&1; exit 1; fi