l 3: add hosts.nix
This commit is contained in:
parent
88bb31e8d2
commit
b6c5994e03
@ -3,6 +3,7 @@ _:
|
||||
imports = [
|
||||
./ejabberd
|
||||
./folderPerms.nix
|
||||
./hosts.nix
|
||||
./mysql-backup.nix
|
||||
./umts.nix
|
||||
./urxvtd.nix
|
||||
|
12
lass/3modules/hosts.nix
Normal file
12
lass/3modules/hosts.nix
Normal file
@ -0,0 +1,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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user