refactor: overhaul pretty much all the organization
This commit is contained in:
parent
4d05c0c645
commit
628ec321c0
15 changed files with 246 additions and 131 deletions
19
modules/options.nix
Normal file
19
modules/options.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ lib, ... }:
|
||||
{
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "The domain name the server is hosted on.";
|
||||
};
|
||||
|
||||
https = lib.mkOption {
|
||||
type = lib.types.boolByOr;
|
||||
default = true;
|
||||
description = "Whether to force HTTPS connections for websites.";
|
||||
};
|
||||
|
||||
acmeEmail = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "";
|
||||
description = "Email address for ACME.";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue