set up declarative firefox

not able to switch to librewolf yet because the extensions and settings
config options dont work properly yet
This commit is contained in:
Gabriella Bere 2025-03-01 23:10:05 +00:00
parent b437e0934a
commit 97c2cb0ef3
3 changed files with 63 additions and 37 deletions

54
flake.lock generated
View file

@ -8,11 +8,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736877444, "lastModified": 1740820344,
"narHash": "sha256-K25atZ9alRsGb6TW+rRcpJTbtP5tnb3qusd762B2qWw=", "narHash": "sha256-T63AXJbq4Z/FWEdi4Ep5rzbWhobWcXBjcm8uiDSwPAY=",
"owner": "ezKEa", "owner": "ezKEa",
"repo": "aagl-gtk-on-nix", "repo": "aagl-gtk-on-nix",
"rev": "a1f0ce3bfbe9f0cc81e8b7def5e652a021e95c98", "rev": "48d711204bf48e0e47de7f3af08695ba7b1b6b80",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -417,11 +417,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740699498, "lastModified": 1740845322,
"narHash": "sha256-r9hkKzX99CGiP1ZqH0e+SWKK4CMsRNRLyotuwrUjhTI=", "narHash": "sha256-AXEgFj3C0YJhu9k1OhbRhiA6FnDr81dQZ65U3DhaWpw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "b71edac7a3167026aabea82a54d08b1794088c21", "rev": "fcac3d6d88302a5e64f6cb8014ac785e08874c8d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -581,11 +581,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1740701749, "lastModified": 1740867647,
"narHash": "sha256-NwjAbrQ8k/I5ft8tkIdcQfz83P/Lygi+xKLP3rKjh3g=", "narHash": "sha256-ICPOZ5p3RlosXjNRtV05i1ggCYLqe2uBlf0n96P7/LM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8adec9b9884ebbb35db9a7a4aeb46ff22f6792dc", "rev": "616bf7f312300e2acdc202d55c0a2b0edccead76",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -613,11 +613,11 @@
}, },
"nixpkgs-stable_2": { "nixpkgs-stable_2": {
"locked": { "locked": {
"lastModified": 1740603184, "lastModified": 1740743217,
"narHash": "sha256-t+VaahjQAWyA+Ctn2idyo1yxRIYpaDxMgHkgCNiMJa4=", "narHash": "sha256-brsCRzLqimpyhORma84c3W2xPbIidZlIc3JGIuQVSNI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f44bd8ca21e026135061a0a57dcf3d0775b67a49", "rev": "b27ba4eb322d9d2bf2dc9ada9fd59442f50c8d7c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -629,11 +629,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1740560979, "lastModified": 1740695751,
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=", "narHash": "sha256-D+R+kFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5135c59491985879812717f4c9fea69604e7f26f", "rev": "6313551cd05425cd5b3e63fe47dbc324eabb15e4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -645,11 +645,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1740560979, "lastModified": 1740695751,
"narHash": "sha256-Vr3Qi346M+8CjedtbyUevIGDZW8LcA1fTG0ugPY/Hic=", "narHash": "sha256-D+R+kFxy1KsheiIzkkx/6L63wEHBYX21OIwlFV8JvDs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "5135c59491985879812717f4c9fea69604e7f26f", "rev": "6313551cd05425cd5b3e63fe47dbc324eabb15e4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -698,11 +698,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1740690013, "lastModified": 1740864197,
"narHash": "sha256-8gNHYOnTQt0dcV/BcyHeT/iJ2cFhvwfWr92W5M3PYNM=", "narHash": "sha256-DZxnL7CXZLY9k8leAToFHl18X5Gu31dh3/Uy57r13Go=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "6fa38b808fa0ad1f137cc2a3b99ad7388ecfca64", "rev": "14e5b771eafa7933e2c189a082c7b53db07c827b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -747,11 +747,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1740691751, "lastModified": 1740837291,
"narHash": "sha256-TUe5CXwPDFcT+Efz78kMCzY7dF+IOX0+AlVYqKjTDgU=", "narHash": "sha256-7quiOr41CSlv3XuxYyeqKq2xTKOeVFgeidywtsWj9/I=",
"owner": "notashelf", "owner": "notashelf",
"repo": "nvf", "repo": "nvf",
"rev": "53d0e7908302000e17238f417dcddbffbfffcfb5", "rev": "749cc793e3b0401903c37a2629698067b833c441",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -911,11 +911,11 @@
"tinted-zed": "tinted-zed" "tinted-zed": "tinted-zed"
}, },
"locked": { "locked": {
"lastModified": 1740644467, "lastModified": 1740769934,
"narHash": "sha256-i2ArXwncE2OmneLBllo5OlpLB2UsXU5JX+T+7or5OX4=", "narHash": "sha256-iyxUwII/NQNClT77VqQiDpaXJz1r0Z8tNVxgY64mLak=",
"owner": "danth", "owner": "danth",
"repo": "stylix", "repo": "stylix",
"rev": "e7c09d206680e6fe6771e1ac9a83515313feaf95", "rev": "de4ee5899042801b62f988687acd454d4d411075",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,16 +1,42 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
package = pkgs.librewolf; # package = pkgs.librewolf;
profiles.blue = { profiles.blue = {
extensions = { isDefault = true;
with pkgs.nur.repos.rycee.firefox-addons; [ id = 0;
extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [
] indie-wiki-buddy
} bitwarden
darkreader
ff2mpv
i-dont-care-about-cookies
ublock-origin
unpaywall
dearrow
sponsorblock
return-youtube-dislikes
clearurls
youtube-shorts-block
youtube-high-definition
shinigami-eyes
];
search.default = "DuckDuckGo";
settings = { settings = {
"browser.search.region" = "GB";
"browser.search.isUS" = false;
"distribution.searchplugins.defaultLocale" = "en-GB";
"general.useragent.locale" = "en-GB";
"identity.fxaccounts.enabled" = false;
"extensions.autoDisableScopes" = 0; "extensions.autoDisableScopes" = 0;
} };
}
} };
policies = {
"OfferToSaveLogins" = false;
"DisablePocket" = true;
"AutofillAddressEnabled" = false;
"AutofillCreditCardEnabled" = false;
};
};
} }

View file

@ -40,7 +40,7 @@
signal-desktop # Signal messenger client signal-desktop # Signal messenger client
nautilus # File manager (move to option maybe) nautilus # File manager (move to option maybe)
element-desktop # Matrix client element-desktop # Matrix client
jetbrains.idea-community # IDE stable.jetbrains.idea-community # IDE
]; ];
services.flatpak.packages = [ services.flatpak.packages = [
"io.mrarm.mcpelauncher" # Minecraft bedrock edition launcher "io.mrarm.mcpelauncher" # Minecraft bedrock edition launcher