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

38 lines
716 B
Nix
Raw Normal View History

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