-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirefox.nix
32 lines (28 loc) · 930 Bytes
/
firefox.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ user, ... }:
{
home-manager.users.${user} = {
home.file."firefox-gnome-theme" = {
target = ".mozilla/firefox/default/chrome/firefox-gnome-theme";
source = (
fetchTarball "https://github.com/rafaelmardojai/firefox-gnome-theme/archive/master.tar.gz"
);
};
programs.firefox = {
enable = true;
profiles.default = {
name = "Default";
settings = {
"extensions.activeThemeID" = "[email protected]";
# 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";
'';
};
};
};
}