Skip to content

Commit 91ddcb5

Browse files
committed
switch from firefox to librewolf
1 parent 5639c13 commit 91ddcb5

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

darwin/common.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"adobe-digital-editions"
133133
"android-studio"
134134
"calibre"
135-
"firefox"
135+
"librewolf"
136136
"ghostty"
137137
"google-chrome"
138138
"kobo"

home/profiles/desktop/gnome/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ with lib.gvariant;
1414
disabled-extensions = "disabled";
1515
favorite-apps = [
1616
"ghostty.desktop"
17-
"firefox.desktop"
17+
"librewolf.desktop"
1818
"thunderbird.desktop"
1919
];
2020
enabled-extensions = [
@@ -128,7 +128,7 @@ with lib.gvariant;
128128
"org/gnome/shell/extensions/auto-move-windows" = {
129129
application-list = [
130130
"ghostty.desktop:1"
131-
"firefox.desktop:2"
131+
"librewolf.desktop:2"
132132
"thunderbird.desktop:3"
133133
"org.gnome.Fractal.desktop:4"
134134
"Mattermost.desktop:4"

home/profiles/desktop/hyprland/hyprland.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@
5353
exec-once = ${lib.getExe pkgs.hyprpaper}
5454
exec-once = ${pkgs.systemd}/bin/systemctl --user start swayidle
5555
exec-once = [workspace 2] ${lib.getExe pkgs.ghostty} ${lib.getExe pkgs.tmux} a
56-
exec-once = [workspace 3 silent] /run/current-system/sw/bin/firefox
56+
exec-once = [workspace 3 silent] /run/current-system/sw/bin/librewolf
5757
exec-once = [workspace 4 silent] /run/current-system/sw/bin/thunderbird
5858
exec-once = [workspace 9 silent] /run/current-system/sw/bin/teams-for-linux
5959
exec-once = [workspace 10 silent] ${lib.getExe pkgs.bitwarden}
6060
exec-once = sleep 1; ${lib.getExe pkgs.nextcloud-client} --background
6161
6262
$mainMod = SUPER
6363
64-
bind = $mainMod, B, exec, /run/current-system/sw/bin/firefox
64+
bind = $mainMod, B, exec, /run/current-system/sw/bin/librewolf
6565
bind = $mainMod, E, exec, ${pkgs.nautilus}/bin/nautilus
6666
bind = $mainMod, F, fullscreen,
6767
bind = $mainMod, P, pseudo, # dwindle

nixos/hosts/surf-vm/configuration.nix

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
desktop = "${pkgs.brave}/share/applications/brave-browser.desktop";
4545
profile = "${pkgs.firejail}/etc/firejail/brave.profile";
4646
};
47-
firefox = {
48-
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
49-
desktop = "${pkgs.firefox}/share/applications/firefox.desktop";
50-
profile = pkgs.writeText "firefox.local" ''
47+
librewolf = {
48+
executable = "${lib.getExe pkgs.librewolf}";
49+
desktop = "${pkgs.librewolf}/share/applications/librewolf.desktop";
50+
profile = pkgs.writeText "librewolf.local" ''
5151
noblacklist ''${DOWNLOADS}
5252
whitelist ''${DOWNLOADS}
5353
ignore nou2f
54-
include firefox.profile
54+
include librewolf.profile
5555
'';
5656
extraArgs = [
5757
# Enable system notifications

nixos/profiles/desktop/default.nix

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@
2424
security.unprivilegedUsernsClone = true;
2525

2626
programs.firejail.wrappedBinaries = {
27-
firefox = {
28-
executable = "${pkgs.lib.getBin pkgs.firefox}/bin/firefox";
29-
desktop = "${pkgs.firefox}/share/applications/firefox.desktop";
30-
profile = pkgs.writeText "firefox.local" ''
27+
librewolf = {
28+
executable = "${lib.getExe pkgs.librewolf}";
29+
desktop = "${pkgs.librewolf}/share/applications/librewolf.desktop";
30+
profile = pkgs.writeText "librewolf.local" ''
3131
noblacklist ''${DOWNLOADS}
3232
whitelist ''${DOWNLOADS}
3333
ignore nou2f
34-
include firefox.profile
34+
include librewolf.profile
3535
'';
3636
extraArgs = [
3737
# Enable system notifications

nixos/profiles/desktop/firejail-icons.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
environment.systemPackages = [
55
(
66
let packages = with pkgs; [
7-
firefox
7+
librewolf
88
teams-for-linux
99
thunderbird
1010
];

0 commit comments

Comments
 (0)