thunderbird: move from module to user config
This commit is contained in:
parent
2da1857e27
commit
4ef00d2af9
@ -29,7 +29,6 @@
|
|||||||
};
|
};
|
||||||
libreoffice.enable = true;
|
libreoffice.enable = true;
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
thunderbird.enable = true;
|
|
||||||
};
|
};
|
||||||
services = {
|
services = {
|
||||||
borgmatic = {
|
borgmatic = {
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
./programs/recording.nix
|
./programs/recording.nix
|
||||||
./programs/slack.nix
|
./programs/slack.nix
|
||||||
./programs/steam.nix
|
./programs/steam.nix
|
||||||
./programs/thunderbird.nix
|
|
||||||
./programs/vscode.nix
|
./programs/vscode.nix
|
||||||
./programs/zoom.nix
|
./programs/zoom.nix
|
||||||
];
|
];
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
self,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
|
|
||||||
let
|
|
||||||
cfg = config.modules.programs.thunderbird;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.modules.programs.thunderbird = {
|
|
||||||
enable = lib.mkOption {
|
|
||||||
default = false;
|
|
||||||
example = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
|
||||||
home.file.".thunderbird/Default/chrome/thunderbird-gnome-theme".source =
|
|
||||||
self.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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
@ -5,5 +5,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./thunderbird.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
27
users/jordan/graphical/thunderbird.nix
Normal file
27
users/jordan/graphical/thunderbird.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
self,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.file.".thunderbird/Default/chrome/thunderbird-gnome-theme".source =
|
||||||
|
self.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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user