We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a189b commit 91c8a02Copy full SHA for 91c8a02
nixos/Makefile
@@ -1,12 +1,11 @@
1
HOST ?= fusion-vm
2
-TARGET ?= eduardo@192.168.4.85
3
FLAKE_DIR = $(shell pwd)
4
5
.PHONY: switch deploy fmt help
6
7
-## switch: rebuild and switch the config on the target host (ssh)
+## switch: rebuild and switch the flake on this machine
8
switch:
9
- ssh $(TARGET) "cd ~/dotfiles/nixos && sudo nixos-rebuild switch --flake .#$(HOST)"
+ sudo nixos-rebuild switch --flake .#$(HOST)
10
11
## deploy: full nixos-anywhere install (first-time, wipes disk)
12
deploy:
0 commit comments