feat: install proton bridge and aerc for email
This commit is contained in:
parent
1562d5c30b
commit
eeae2e69f3
5 changed files with 110 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ in
|
|||
dev.enable = true;
|
||||
pipewire.enable = true;
|
||||
print-and-scan.enable = true;
|
||||
protonmail-bridge.enable = true;
|
||||
# keep-sorted end
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
|
|||
17
modules/nixos/features/protonmail-bridge.nix
Normal file
17
modules/nixos/features/protonmail-bridge.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
feature = "protonmail-bridge";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf config.${feature}.enable {
|
||||
services.protonmail-bridge.enable = true;
|
||||
};
|
||||
|
||||
imports = [ ];
|
||||
|
||||
options.${feature}.enable = lib.mkEnableOption "enables ${feature}";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue