stockholm/mb/3modules/hosts.nix

13 lines
230 B
Nix
Raw Normal View History

2019-04-19 14:14:53 +00:00
{ config, ... }:
with import <stockholm/lib>;
{
options.mb.hosts = mkOption {
type = types.attrsOf types.host;
default =
filterAttrs (_: host: host.owner.name == "mb" && host.ci)
config.krebs.hosts;
};
}