mirror of
https://git.sr.ht/~neverness/ultima
synced 2025-01-07 21:33:51 +00:00
21 lines
256 B
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 // { }; };
|
|
}
|