summaryrefslogtreecommitdiffstats
path: root/tv/3modules/hosts.nix
blob: 2d382e2665a1fdd353fbcaf7e60ad5f0cb40c840 (plain)
1
2
3
4
5
6
7
8
9
with import ./lib;
{ config, ... }: {
  options.tv.hosts = mkOption {
    type = types.attrsOf types.host;
    default =
      filterAttrs (_: host: host.owner.name == "tv")
      config.krebs.hosts;
  };
}