nixos-configs/checks/devices/default.nix
matt1432 303122dfc8
All checks were successful
Discord / discord commits (push) Has been skipped
feat: add packages to checks
2024-11-21 23:33:37 -05:00

10 lines
373 B
Nix

# CI: https://github.com/Mic92/dotfiles/blob/c2f538934d67417941f83d8bb65b8263c43d32ca/flake.nix#L168
{
pkgs,
self,
}: let
inherit (pkgs.lib) filterAttrs mapAttrs' nameValuePair;
in
mapAttrs'
(name: config: nameValuePair "nixos-${name}" config.config.system.build.toplevel)
((filterAttrs (_: config: config.pkgs.system == pkgs.system)) self.nixosConfigurations)