Skip to content

Commit

Permalink
librewolf: use generic firefox configs
Browse files Browse the repository at this point in the history
  • Loading branch information
brckd committed Jun 30, 2024
1 parent e96a27d commit 4a0ac1a
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 46 deletions.
1 change: 0 additions & 1 deletion configs/home/bricked/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
programs.cava.enable = true;

# Apps
programs.firefox.enable = true;
programs.librewolf.enable = true;
programs.vesktop.enable = true;
home.packages = with pkgs; [heroic];
Expand Down
146 changes: 108 additions & 38 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

# Systems
home-manager = {
url = "github:brckd/home-manager/firefox-forks";
url = "github:brckd/home-manager/firefox/librewolf";
inputs.nixpkgs.follows = "nixpkgs";
};

Expand Down
4 changes: 2 additions & 2 deletions modules/home/firefox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
...
}:
with lib; let
cfg = config.programs.firefox;
cfg = config.programs.librewolf;
in {
config = mkIf cfg.enable {
programs.firefox = {
programs.librewolf = {
profiles = {
default = {
name = "Default";
Expand Down
4 changes: 2 additions & 2 deletions modules/home/firefox/toolbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"unified-extensions-button"
],
"toolbar-menubar": ["menubar-items"],
"TabsToolbar": ["tabbrowser-tabs", "new-tab-button", "alltabs-button"],
"TabsToolbar": ["tabbrowser-tabs", "alltabs-button"],
"PersonalToolbar": ["import-button", "personal-bookmarks"]
},
"seen": [
Expand All @@ -34,5 +34,5 @@
"TabsToolbar"
],
"currentVersion": 20,
"newElementCount": 4
"newElementCount": 7
}
3 changes: 2 additions & 1 deletion modules/home/firefox/userChrome.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

#back-button,
#forward-button {
#forward-button,
#alltabs-button {
display: none !important;
}
1 change: 0 additions & 1 deletion modules/home/librewolf/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
config,
pkgs,
lib,
...
}:
Expand Down

0 comments on commit 4a0ac1a

Please sign in to comment.