refactor: overhaul pretty much all the organization

This commit is contained in:
Kiana Sheibani 2024-11-20 00:58:57 -05:00
parent 4d05c0c645
commit 628ec321c0
Signed by: toki
GPG key ID: 6CB106C25E86A9F7
15 changed files with 246 additions and 131 deletions

19
modules/options.nix Normal file
View 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.";
};
}