Extract more modules
This commit is contained in:
parent
64e43f4535
commit
15135aecee
6 changed files with 181 additions and 158 deletions
35
user/firefox.nix
Normal file
35
user/firefox.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ config, pkgs, lib, font, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
in {
|
||||
config = {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox;
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
darkreader
|
||||
ublock-origin
|
||||
tree-style-tab
|
||||
sponsorblock
|
||||
duckduckgo-privacy-essentials
|
||||
];
|
||||
profiles = {
|
||||
main = {
|
||||
isDefault = true;
|
||||
settings = {
|
||||
"devtools.theme" = "dark";
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"browser.tabs.inTitlebar" = 0;
|
||||
|
||||
"media.ffmpeg.vaapi.enabled" = true;
|
||||
"media.ffvpx.enabled" = false;
|
||||
"media.av1.enabled" = false;
|
||||
"gfx.webrender.all" = true;
|
||||
};
|
||||
userChrome = ''
|
||||
#tabbrowser-tabs { visibility: collapse !important; }
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue