feat(home): Thunderbird
This commit is contained in:
parent
86c16808e1
commit
fde723022c
5 changed files with 61 additions and 0 deletions
|
@ -14,6 +14,7 @@ in {
|
|||
calibre = enabled;
|
||||
floorp = enabled;
|
||||
pidgin = enabled;
|
||||
thunderbird = enabled;
|
||||
phpstorm = enabled;
|
||||
rofi = enabled;
|
||||
vesktop = enabled;
|
||||
|
|
23
modules/home/programs/gui/thunderbird/default.nix
Normal file
23
modules/home/programs/gui/thunderbird/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -29,6 +29,7 @@ in {
|
|||
|
||||
services = {
|
||||
docker = enabled;
|
||||
protonmail-bridge = enabled;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
15
modules/nixos/services/gnome-keyring/default.nix
Normal file
15
modules/nixos/services/gnome-keyring/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
21
modules/nixos/services/protonmail-bridge/default.nix
Normal file
21
modules/nixos/services/protonmail-bridge/default.nix
Normal 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];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue