feat(home): Thunderbird

This commit is contained in:
punkfairie 2025-02-25 16:56:09 -08:00
parent 86c16808e1
commit fde723022c
Signed by: punkfairie
GPG key ID: B3C5488E9A1A7CA6
5 changed files with 61 additions and 0 deletions

View file

@ -14,6 +14,7 @@ in {
calibre = enabled; calibre = enabled;
floorp = enabled; floorp = enabled;
pidgin = enabled; pidgin = enabled;
thunderbird = enabled;
phpstorm = enabled; phpstorm = enabled;
rofi = enabled; rofi = enabled;
vesktop = enabled; vesktop = enabled;

View file

@ -0,0 +1,23 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.programs.thunderbird;
in {
options.marleyos.programs.thunderbird.enable = lib.mkEnableOption "thunderbird";
config = lib.mkIf cfg.enable {
programs.thunderbird = {
enable = true;
settings = {
"privacy.donottrackheader.enabled" = true;
};
profiles."${config.marleyos.my.name}" = {
isDefault = true;
};
};
};
}

View file

@ -29,6 +29,7 @@ in {
services = { services = {
docker = enabled; docker = enabled;
protonmail-bridge = enabled;
}; };
}; };
}; };

View file

@ -0,0 +1,15 @@
{
lib,
config,
...
}: let
cfg = config.marleyos.services.gnome-keyring;
in {
options.marleyos.services.gnome-keyring.enable = lib.mkEnableOption "gnome-keyring";
config = lib.mkIf cfg.enable {
services.gnome.gnome-keyring = {
enable = true;
};
};
}

View file

@ -0,0 +1,21 @@
{
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];
};
};
}