Files
sp-config/sp-modules/simple-nixos-mailserver/options.nix

32 lines
634 B
Nix
Raw Normal View History

{ lib, ... }:
{
options.selfprivacy.modules.simple-nixos-mailserver = {
2024-12-18 15:40:15 +03:00
enable = (lib.mkOption {
default = false;
2023-12-28 12:54:59 +04:00
type = lib.types.bool;
2024-12-18 15:40:15 +03:00
description = "Enable mail server";
}) // {
meta = {
type = "enable";
};
};
2024-12-18 15:40:15 +03:00
location = (lib.mkOption {
2023-12-28 12:54:59 +04:00
type = lib.types.str;
2024-12-18 15:40:15 +03:00
description = "Location";
}) // {
meta = {
type = "location";
};
};
enableSso = (lib.mkOption {
2025-03-28 23:47:38 +03:00
default = true;
type = lib.types.bool;
description = "Enable SSO for mail server";
}) // {
meta = {
type = "enable";
};
};
};
}