nixos-configs/nixFastChecks/devices/default.nix

16 lines
307 B
Nix
Raw Normal View History

{
pkgs,
self,
}: let
inherit (pkgs.lib) filterAttrs mapAttrs' nameValuePair;
devices =
filterAttrs
(n: config: config.pkgs.system == pkgs.system)
self.nixosConfigurations;
in
mapAttrs'
2024-12-16 15:02:39 -05:00
(name: config:
nameValuePair "device_${name}" config.config.system.build.toplevel)
devices