summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkullheadx <admonty1@protonmail.com>2025-11-08 22:59:48 -0500
committerSkullheadx <admonty1@protonmail.com>2025-11-08 22:59:48 -0500
commit91a5e1b876b9ae96392fe183a20b063a5dae2040 (patch)
tree6375191103f0f66ce27e22fb1147be0fb1955381
parentupdate todo (diff)
downloadnixos-91a5e1b876b9ae96392fe183a20b063a5dae2040.tar.gz
nixos-91a5e1b876b9ae96392fe183a20b063a5dae2040.tar.bz2
nixos-91a5e1b876b9ae96392fe183a20b063a5dae2040.zip
make librewolf the default browser
Diffstat (limited to '')
-rw-r--r--TODO.md1
-rw-r--r--home.nix9
2 files changed, 10 insertions, 0 deletions
diff --git a/TODO.md b/TODO.md
index 542baa3..30c5d31 100644
--- a/TODO.md
+++ b/TODO.md
@@ -7,6 +7,7 @@
## Hyprland
- [ ] fix startup tmux session
+- [x] make librewolf my default browser
### waybar
diff --git a/home.nix b/home.nix
index 64fca89..2d7d881 100644
--- a/home.nix
+++ b/home.nix
@@ -142,8 +142,17 @@
# /etc/profiles/per-user/andrew/etc/profile.d/hm-session-vars.sh
#
home.sessionVariables = {
+ BROWSER = "librewolf";
+ DEFAULT_BROWSER = "{$pkgs.librewolf}/bin/librewolf";
NIXOS_OZONE_WL = "1";
};
+ xdg.mimeApps = {
+ enable = true;
+ defaultApplications = {
+ "x-scheme-handler/http" = "librewolf.desktop";
+ "x-scheme-handler/https" = "librewolf.desktop";
+ };
+ };
programs.brave.enable = true;