nixos-configs/nixFastChecks/devices/default.nix
matt1432 2c00932803
All checks were successful
Discord / discord commits (push) Has been skipped
feat: disable cache-apt because it causes lag
2025-01-11 17:08:38 -05:00

15 lines
307 B
Nix

{
pkgs,
self,
}: let
inherit (pkgs.lib) filterAttrs mapAttrs' nameValuePair;
devices =
filterAttrs
(n: config: config.pkgs.system == pkgs.system)
self.nixosConfigurations;
in
mapAttrs'
(name: config:
nameValuePair "device_${name}" config.config.system.build.toplevel)
devices