- network: add tor relay + snowflake proxy - email: regex alias for admin - search: enable some additional engines
This commit is contained in:
parent
f9a39222be
commit
0fefd6137a
10 changed files with 128 additions and 47 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{lib, ...}: {
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: let
|
||||
cfg = config.customOps;
|
||||
in {
|
||||
options = with lib; {
|
||||
customOps = mkOption {
|
||||
description = "custom options";
|
||||
|
|
@ -10,8 +16,22 @@
|
|||
description = "machine owner username";
|
||||
};
|
||||
domain = mkOption {
|
||||
type = types.str;
|
||||
default = null;
|
||||
type = types.submodule {
|
||||
options = {
|
||||
name = mkOption {
|
||||
type = types.str;
|
||||
default = null;
|
||||
};
|
||||
tld = mkOption {
|
||||
type = types.str;
|
||||
default = null;
|
||||
};
|
||||
fqdn = mkOption {
|
||||
type = types.str;
|
||||
default = "${cfg.domain.name}.${cfg.domain.tld}";
|
||||
};
|
||||
};
|
||||
};
|
||||
description = "machine domain name";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue