30 lines
852 B
Nix
30 lines
852 B
Nix
{pkgs, ...}: {
|
|
# Add Firefox GNOME theme directory
|
|
home.file."firefox-gnome-theme" = {
|
|
target = ".mozilla/firefox/default/chrome/firefox-gnome-theme";
|
|
source = pkgs.fetchFromGitHub {
|
|
owner = "rafaelmardojai";
|
|
repo = "firefox-gnome-theme";
|
|
rev = "v126";
|
|
hash = "sha256-jVbj2JD5GRkP8s3vKBtd9PDpftf3kjLR0ZA/ND/c2+Q=";
|
|
};
|
|
};
|
|
|
|
programs.firefox = {
|
|
enable = true;
|
|
profiles.default = {
|
|
name = "Default";
|
|
settings = {
|
|
# For Firefox GNOME theme:
|
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
|
"browser.tabs.drawInTitlebar" = true;
|
|
"svg.context-properties.content.enabled" = true;
|
|
};
|
|
userChrome = ''
|
|
@import "firefox-gnome-theme/userChrome.css";
|
|
@import "firefox-gnome-theme/theme/colors/dark.css";
|
|
'';
|
|
};
|
|
};
|
|
}
|