2024-05-20 22:41:45 -04:00
|
|
|
# CI: https://github.com/Mic92/dotfiles/blob/c2f538934d67417941f83d8bb65b8263c43d32ca/flake.nix#L168
|
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
self,
|
|
|
|
}: let
|
|
|
|
inherit (pkgs.lib) filterAttrs mapAttrs' nameValuePair;
|
|
|
|
|
|
|
|
nixosMachines =
|
|
|
|
mapAttrs'
|
|
|
|
(name: config: nameValuePair "nixos-${name}" config.config.system.build.toplevel)
|
2024-07-21 17:12:26 -04:00
|
|
|
((filterAttrs (_: config: config.pkgs.system == pkgs.system)) self.nixosConfigurations);
|
2024-05-20 22:41:45 -04:00
|
|
|
in
|
2024-06-10 22:57:20 -04:00
|
|
|
nixosMachines
|