diff --git a/Makefile b/Makefile index bc1004e5..50a2b09a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SUBMODULES := $(CONFIG_DIR)/nvim $(CONFIG_DIR)/hypr $(CONFIG_DIR)/waybar .PHONY: default clean nixos home /etc/nixos/config default: $(SUBMODULES) - git submodule foreach git pull --ff-only + git submodule update command -v nix > /dev/null || exit 1 [ -e /etc/nixos/ ] && make nixos || make home bat cache --build