Firefox -> LibreWolf

This commit is contained in:
Martin Larsson 2025-10-03 11:23:18 +02:00
parent 571b3862f4
commit b3dcc2035f
2 changed files with 74 additions and 76 deletions

View file

@ -70,7 +70,7 @@ cmd-alt-h = [] # Disable "hide others"
# All possible commands: https://nikitabobko.github.io/AeroSpace/commands
cmd-enter = 'exec-and-forget open -n /Applications/Ghostty.app'
cmd-b = 'exec-and-forget open -n ~/Applications/Nix/Firefox.app'
cmd-b = 'exec-and-forget open -n ~/Applications/Nix/LibreWolf.app'
# See: https://nikitabobko.github.io/AeroSpace/commands#layout
# alt-slash = 'layout tiles horizontal vertical'

View file

@ -33,6 +33,7 @@ let
vimium
privacy-badger
clearurls
stylus
react-devtools
];
in
@ -42,8 +43,7 @@ in
MOZ_USE_XINPUT2 = "1";
};
programs = {
firefox = {
programs.librewolf = {
enable = true;
policies = {
@ -52,8 +52,7 @@ in
"NoDefaultBookmarks" = false; # Without this, adding bookmarks declaratively doesnt work.
};
profiles = {
default = {
profiles.default = {
isDefault = true;
name = "DefaultProfile";
userChrome = ''
@ -89,6 +88,7 @@ in
"gfx.webrender.all" = true;
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
"browser.tabs.allow_transparent_browser" = true;
"layout.css.prefers-color-scheme.content-override" = 2;
};
search = {
@ -130,6 +130,4 @@ in
};
};
};
};
};
}