config changes
Some checks failed
/ deploy (push) Failing after 8s

- network: add tor relay + snowflake proxy
- email: regex alias for admin
- search: enable some additional engines
This commit is contained in:
toufic ar 2026-01-29 21:45:04 +02:00
parent f9a39222be
commit 0fefd6137a
Signed by: toufic ar
SSH key fingerprint: SHA256:/NaO5I1nG3gYKzrzSiTYIdRyaIYxDWfr1U+d+yfJ/4k
10 changed files with 128 additions and 47 deletions

View file

@ -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";
};
};