stockholm/lass/3modules/hosts.nix

13 lines
239 B
Nix
Raw Normal View History

2016-10-11 15:51:22 +00:00
{ config, ... }:
2016-10-20 18:54:38 +00:00
with import <stockholm/lib>;
2016-10-11 15:51:22 +00:00
{
options.lass.hosts = mkOption {
type = types.attrsOf types.host;
default =
2017-05-18 22:27:25 +00:00
filterAttrs (_: host: host.owner.name == "lass" && host.managed)
2016-10-11 15:51:22 +00:00
config.krebs.hosts;
};
}