mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
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.
This commit is contained in:
parent
a91a9fe110
commit
e95927c83b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user