Commit bc3eb0311dd3
dots/Makefile
@@ -14,7 +14,6 @@ endef
rule.define = $(eval $(call rule.template,$(1),$(2)))
-
$(call rule.define,~,$(~))
all += niri
Makefile
@@ -1,5 +1,5 @@
# Makefile for home
-HOSTS = $(shell nix flake show --json | yq '.nixosConfigurations.[] | key')
+HOSTS = $(shell nix flake show --json --all-systems 2>/dev/null | yq '.nixosConfigurations.[] | key')
HOSTS_BUILD = $(addprefix host/, $(addsuffix /build,$(HOSTS)))
.PHONY: all
@@ -65,6 +65,11 @@ pre-commit: fmt
fmt:
nixfmt-plus
+# Dotfiles
+.PHONY: dots
+dots:
+ @$(MAKE) -C dots
+
# Maintenance
.PHONY: clean
clean: clean-system clean-results