feat: added enable options, documents rebuild listener, and moves penfield to its proper domain
This commit is contained in:
parent
196440e90b
commit
fd060bb33e
2 changed files with 9 additions and 2 deletions
|
|
@ -5,6 +5,8 @@ let
|
|||
|
||||
siteModule = types.submodule ({ name, ... }: {
|
||||
options = {
|
||||
enable = lib.mkEnableOption "this site";
|
||||
|
||||
domain = mkOption {
|
||||
type = types.str;
|
||||
description = "Primary domain name.";
|
||||
|
|
@ -86,7 +88,7 @@ let
|
|||
};
|
||||
});
|
||||
|
||||
cfg = config.services.site;
|
||||
cfg = lib.filterAttrs (_: site: site.enable) config.services.site;
|
||||
|
||||
webhookPort = 4323;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue