Commit c671360aa7f1

Vincent Demeester <vincent@sbr.pm>
2019-07-05 17:30:20
Add a Makefile
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e56795b
Changed files (2)
.gitignore
@@ -1,4 +1,5 @@
 *~
 result
 home.nix
-*.retry
\ No newline at end of file
+*.retry
+assets/machines.nix
\ No newline at end of file
Makefile
@@ -0,0 +1,17 @@
+all: build
+
+.PHONY: update
+update:
+	nix-channel --update
+
+.PHONY: assets
+assets:
+	cp -Rv ~/sync/nixos/machines.nix assets/
+
+.PHONY: build
+build: assets
+	home-manager build
+
+.PHONY: switch
+switch: assets
+	home-manager switch