Add home-manager config linking properly

This commit is contained in:
Evie Litherland-Smith 2023-04-18 16:39:05 +01:00
parent f9d328f9eb
commit 143132b598

View file

@ -26,7 +26,7 @@ directories: $(CONFIG_DIR) $(SSH_DIR) $(CONFIG_DIR)/home-manager
$(CONFIG_DIR) $(SSH_DIR) $(CONFIG_DIR)/home-manager:
mkdir -p $@
link: $(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc
link: $(CONFIG_TARGETS) $(SSH_DIR)/config.d $(HOME)/.inputrc $(CONFIG_DIR)/home-manager/home.nix
$(CONFIG_TARGETS): $(CONFIG_DIR)/%: config/%
$(SSH_DIR)/config.d: $(SSH_DIR)/%: ssh/%