1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-07 21:33:51 +00:00
ultima/modules/nixos/misc/protonmail/default.nix

21 lines
256 B
Nix

{
x,
lib,
config,
...
}:
with lib;
with x;
let
cfg = config.module.misc.protonmail;
in
{
options = {
module.misc.protonmail = {
enable = mkBool;
};
};
config = mkIf cfg.enable { services.protonmail-bridge = True // { }; };
}