diff --git a/Makefile b/Makefile index 8eab031c..3b1ea7dc 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ $(eval HOSTNAME=$(shell hostname)) -NIXOS_REPO := ssh://gitea@git.xenia.me.uk:2222/xenia/nixos.git -NVIM_REPO := ssh://gitea@git.xenia.me.uk:2222/xenia/nvim.git -HYPR_REPO := ssh://gitea@git.xenia.me.uk:2222/xenia/hyprland.git -WAYBAR_REPO := ssh://gitea@git.xenia.me.uk:2222/xenia/waybar.git +NIXOS_REPO := https://git.xenia.me.uk/xenia/nixos.git +NVIM_REPO := https://git.xenia.me.uk/xenia/nvim.git +HYPR_REPO := https://git.xenia.me.uk/xenia/hyprland.git +WAYBAR_REPO := https://git.xenia.me.uk/xenia/waybar.git HOMEMANAGER_CONFIG := $(PWD)/home/$(HOSTNAME)/$(USER).nix CONFIG_DIR := $(if $(XDG_CONFIG_HOME), $(XDG_CONFIG_HOME), $(HOME)/.config) BIN_DIR := $(HOME)/.local/bin @@ -14,6 +14,9 @@ default: nvim hypr waybar [ -e /etc/nixos/ ] && make nixos || make home update: $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar + git -C $(CONFIG_DIR)/nvim remote set-url origin $(NVIM_REPO) + git -C $(CONFIG_DIR)/hypr remote set-url origin $(HYPR_REPO) + git -C $(CONFIG_DIR)/waybar remote set-url origin $(WAYBAR_REPO) for repo in $?; do git -C $$repo pull --ff-only; done clean: