diff --git a/modules/home.nix b/modules/home.nix index 500688a..0ae33a0 100644 --- a/modules/home.nix +++ b/modules/home.nix @@ -12,7 +12,6 @@ let ./home/zed.nix ./home/ghostty.nix ./home/ssh.nix - ./home/desktop-apps.nix ]; in { diff --git a/modules/home/librewolf.nix b/modules/home/librewolf.nix index e8a191e..8613d4b 100644 --- a/modules/home/librewolf.nix +++ b/modules/home/librewolf.nix @@ -1,6 +1,17 @@ { pkgs, ... }: { + xdg.mimeApps = { + enable = true; + defaultApplications = { + "text/html" = "librewolf.desktop"; + "x-scheme-handler/http" = "librewolf.desktop"; + "x-scheme-handler/https" = "librewolf.desktop"; + "x-scheme-handler/about" = "librewolf.desktop"; + "x-scheme-handler/unknown" = "librewolf.desktop"; + }; + }; + programs.firefox = { enable = true; package = pkgs.librewolf;