l 3: add hosts.nix
This commit is contained in:
parent
88bb31e8d2
commit
b6c5994e03
@ -3,6 +3,7 @@ _:
|
|||||||
imports = [
|
imports = [
|
||||||
./ejabberd
|
./ejabberd
|
||||||
./folderPerms.nix
|
./folderPerms.nix
|
||||||
|
./hosts.nix
|
||||||
./mysql-backup.nix
|
./mysql-backup.nix
|
||||||
./umts.nix
|
./umts.nix
|
||||||
./urxvtd.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