Files
nix-config/modules/home/services/protonmail-bridge/default.nix
2026-03-26 20:26:31 -05:00

18 lines
407 B
Nix

{ config, lib, pkgs, namespace, ... }:
let
cfg = config.${namespace}.services.protonmail;
in
{
options.${namespace}.services.protonmail = {
enable = lib.mkEnableOption "protonmail bridge";
};
config = lib.mkIf cfg.enable {
services.protonmail-bridge = {
enable = true;
extraPackages = with pkgs; [ pass ];
};
home.packages = with pkgs; [ protonmail-bridge-gui ];
};
}