2023-12-12 08:25:06 +04:00
|
|
|
{ lib, ... }:
|
|
|
|
{
|
|
|
|
options.selfprivacy.modules.simple-nixos-mailserver = {
|
2025-06-18 19:53:44 +03:00
|
|
|
enable =
|
|
|
|
(lib.mkOption {
|
|
|
|
default = false;
|
|
|
|
type = lib.types.bool;
|
|
|
|
description = "Enable mail server";
|
|
|
|
})
|
|
|
|
// {
|
|
|
|
meta = {
|
|
|
|
type = "enable";
|
|
|
|
};
|
2024-12-18 15:40:15 +03:00
|
|
|
};
|
2025-06-18 19:53:44 +03:00
|
|
|
location =
|
|
|
|
(lib.mkOption {
|
|
|
|
type = lib.types.str;
|
|
|
|
description = "Location";
|
|
|
|
})
|
|
|
|
// {
|
|
|
|
meta = {
|
|
|
|
type = "location";
|
|
|
|
};
|
2024-12-18 15:40:15 +03:00
|
|
|
};
|
2025-06-18 19:53:44 +03:00
|
|
|
enableSso =
|
|
|
|
(lib.mkOption {
|
|
|
|
default = true;
|
|
|
|
type = lib.types.bool;
|
|
|
|
description = "Enable SSO for mail server";
|
|
|
|
})
|
|
|
|
// {
|
|
|
|
meta = {
|
|
|
|
type = "enable";
|
|
|
|
};
|
2025-01-29 18:17:17 +04:00
|
|
|
};
|
2023-12-12 08:25:06 +04:00
|
|
|
};
|
|
|
|
}
|