hmm
This commit is contained in:
18
modules/home/services/protonmail-bridge/default.nix
Normal file
18
modules/home/services/protonmail-bridge/default.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user