diff options
author | makefu <github@syntax-fehler.de> | 2019-05-10 21:02:33 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-05-10 21:02:33 +0200 |
commit | 45f2d6af58967d42dc0cd6b11daacb7878b300a8 (patch) | |
tree | eb2ea5c218c3613168226cb8bf4b095fb2aac074 /mb/3modules/hosts.nix | |
parent | c07c0412418e3979e609fd5200a34dd1830e9334 (diff) | |
parent | 222160fc3a195415e859048bdef21f703154b3ee (diff) |
Merge remote-tracking branch 'lass/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; + }; +} |