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 # All possible commands: https://nikitabobko.github.io/AeroSpace/commands
cmd-enter = 'exec-and-forget open -n /Applications/Ghostty.app' 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 # See: https://nikitabobko.github.io/AeroSpace/commands#layout
# alt-slash = 'layout tiles horizontal vertical' # alt-slash = 'layout tiles horizontal vertical'

View file

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