marleyos/modules/nixos/services/protonmail-bridge/default.nix

22 lines
434 B
Nix
Raw Normal View History

2025-02-26 00:56:09 +00:00
{
lib,
config,
pkgs,
...
}: let
cfg = config.marleyos.services.protonmail-bridge;
in {
options.marleyos.services.protonmail-bridge.enable = lib.mkEnableOption "protonmail-bridge";
config = lib.mkIf cfg.enable {
marleyos.services.gnome-keyring.enable = true;
services.protonmail-bridge = {
enable = true;
package = pkgs.protonmail-bridge-gui;
path = with pkgs; [gnome-keyring];
};
};
}