Commit 8b281dbbceca
assets/Makefile
@@ -0,0 +1,20 @@
+RH_VPN := $(shell command -v redhat-vpn 2> /dev/null)
+
+.PHONY: vpn
+vpn: $(RH_VPN)
+ redhat-vpn
+
+.PHONY: build
+build: ./src/home/Makefile
+ make -C ./src/home build
+
+.PHONY: update
+update: ./src/home/Makefile
+ make -C ./src/home switch
+
+.PHONY: pull
+pull: ./src/home/Makefile
+ make -C ./src/home pull
+
+.PHONY: upgrade
+upgrade: pull update
machines/base.nix
@@ -7,6 +7,7 @@
};
};
home.file.".nix-channels".source = ../assets/nix-channels;
+ home.file."Makefile".source = ../assets/Makefile;
home.packages = with pkgs; [
direnv
enchive