34 lines
884 B
Nix
34 lines
884 B
Nix
{ config, lib, pkgs, inputs, ... }:
|
|
|
|
let cfg = config.modules.desktop.apps.thunderbird;
|
|
in {
|
|
options.modules.desktop.apps.thunderbird = {
|
|
enable = lib.mkOption {
|
|
default = false;
|
|
example = true;
|
|
};
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.file.".thunderbird/Default/chrome/thunderbird-gnome-theme".source = inputs.thunderbird-gnome-theme;
|
|
|
|
home.programs.thunderbird = {
|
|
enable = true;
|
|
profiles.Default = {
|
|
isDefault = true;
|
|
userChrome = ''
|
|
@import "thunderbird-gnome-theme/userChrome.css";
|
|
'';
|
|
userContent = ''
|
|
@import "thunderbird-gnome-theme/userContent.css";
|
|
'';
|
|
settings = {
|
|
## GNOME theme
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
"svg.context-properties.content.enabled" = true;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|