Files
sp-config/sp-modules/simple-nixos-mailserver/options.nix
2025-09-13 16:36:41 +03:00

38 lines
716 B
Nix

{ lib, ... }:
{
options.selfprivacy.modules.simple-nixos-mailserver = {
enable =
(lib.mkOption {
default = false;
type = lib.types.bool;
description = "Enable mail server";
})
// {
meta = {
type = "enable";
};
};
location =
(lib.mkOption {
type = lib.types.str;
description = "Location";
})
// {
meta = {
type = "location";
};
};
enableSso =
(lib.mkOption {
default = true;
type = lib.types.bool;
description = "Enable SSO for mail server";
})
// {
meta = {
type = "enable";
};
};
};
}