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

with import <stockholm/lib>;

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