diff options
author | tv <tv@krebsco.de> | 2019-04-28 14:54:55 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-04-28 14:54:55 +0200 |
commit | 1040fa21a577128c7cb826a1e2bb57c448eb6d24 (patch) | |
tree | 2b10e15fb48e98ff819eebf0eaf4e995d53cdfed /mb/3modules/hosts.nix | |
parent | 2124814a04c4052f73c935927931c85812421c43 (diff) | |
parent | 915e4b843790d3e71bdccea124d4832ca042e456 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'mb/3modules/hosts.nix')
-rw-r--r-- | mb/3modules/hosts.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mb/3modules/hosts.nix b/mb/3modules/hosts.nix new file mode 100644 index 000000000..5dc9b5ca4 --- /dev/null +++ b/mb/3modules/hosts.nix @@ -0,0 +1,12 @@ +{ 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; + }; +} |