build: Instruct home-manager to automatically back up existing files
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
cb352b0a4f
commit
178b51d060
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue