From e95927c83be2708aeddebd6d935ab93cfe087962 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Thu, 29 Jun 2023 13:51:21 +0800 Subject: [PATCH] config: filter NixOS configuration With images that are only exported as ISO (or even without one) are included as part of NixOS configurations. The idea with this attribute seems to be closer for deploying and installing them with `nixos-install` which most of them aren't. This might be reverted at some point. It's not clear to me yet. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 44e42612..f494f6b1 100644 --- a/flake.nix +++ b/flake.nix @@ -304,7 +304,7 @@ system = metadata.system or defaultSystem; nixpkgs-channel = metadata.nixpkgs-channel or "nixpkgs"; }) - images; + (lib'.filterAttrs (name: host: (host.format or "iso") == "iso") images); # We're going to make our custom modules available for our flake. Whether # or not this is a good thing is debatable, I just want to test it.