krebs: extract sitemap into separate module
This commit is contained in:
parent
7b4ea4750e
commit
6af959ad44
@ -49,6 +49,7 @@ let
|
||||
./secret.nix
|
||||
./setuid.nix
|
||||
./shadow.nix
|
||||
./sitemap.nix
|
||||
./ssl.nix
|
||||
./sync-containers.nix
|
||||
./systemd.nix
|
||||
@ -67,11 +68,6 @@ let
|
||||
api = {
|
||||
enable = mkEnableOption "krebs";
|
||||
|
||||
sitemap = mkOption {
|
||||
default = {};
|
||||
type = types.attrsOf types.sitemap.entry;
|
||||
};
|
||||
|
||||
zone-head-config = mkOption {
|
||||
type = with types; attrsOf str;
|
||||
description = ''
|
||||
|
8
krebs/3modules/sitemap.nix
Normal file
8
krebs/3modules/sitemap.nix
Normal file
@ -0,0 +1,8 @@
|
||||
let
|
||||
lib = import ../../lib;
|
||||
in {
|
||||
options.krebs.sitemap = lib.mkOption {
|
||||
type = with lib.types; attrsOf sitemap.entry;
|
||||
default = {};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user