summaryrefslogtreecommitdiffstats
path: root/lass/3modules/hosts.nix
blob: f2ff10c0694045c0d48d1a0e4e4bb5b4bc37a605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ config, ... }:

with config.krebs.lib;

{
  options.lass.hosts = mkOption {
    type = types.attrsOf types.host;
    default =
      filterAttrs (_: host: host.owner.name == "lass")
      config.krebs.hosts;
  };
}