19 lines
507 B
Nix
19 lines
507 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
options.numbus = {
|
|
services = {
|
|
domain = mkOption {
|
|
type = types.str;
|
|
example = "numbus.eu";
|
|
description = "The root domain name (i.e. example.com) that your services will use";
|
|
};
|
|
dns = mkOption {
|
|
type = types.enum [ "pi-hole" "adguard" ];
|
|
default = "pi-hole";
|
|
example = "pi-hole";
|
|
description = "The preferred DNS resolver service (pi-hole or adguard) that other services should depend on";
|
|
};
|
|
};
|
|
};
|
|
} |