diff --git a/nix/home/xdg/xdg.nix b/nix/home/xdg/xdg.nix index 881eb02..24b0e01 100644 --- a/nix/home/xdg/xdg.nix +++ b/nix/home/xdg/xdg.nix @@ -13,6 +13,13 @@ "application/pdf" = ["org.gnome.Evince.desktop"]; "application/x-pdf" = ["org.gnome.Evince.desktop"]; + # firefox + "text/html" = ["firefox.desktop"]; + "x-scheme-handler/http" = ["firefox.desktop"]; + "x-scheme-handler/https" = ["firefox.desktop"]; + "x-scheme-handler/about" = ["firefox.desktop"]; + "x-scheme-handler/unknown" = ["firefox.desktop"]; + # images "image/bmp" = [ "org.gnome.Loupe.desktop" ]; "image/gif" = [ "org.gnome.Loupe.desktop" ]; diff --git a/nix/systems/desktop.nix b/nix/systems/desktop.nix index bb30d1a..62a7940 100644 --- a/nix/systems/desktop.nix +++ b/nix/systems/desktop.nix @@ -13,16 +13,6 @@ xdg-desktop-portal-wlr ]; - # xdg mime - xdg.mime.enable = true; - xdg.mime.defaultApplications = { - "text/html" = "firefox.desktop"; - "x-scheme-handler/http" = "firefox.desktop"; - "x-scheme-handler/https" = "firefox.desktop"; - "x-scheme-handler/about" = "firefox.desktop"; - "x-scheme-handler/unknown" = "firefox.desktop"; - }; - # gnome services.xserver.displayManager.gdm.enable = true; services.xserver.desktopManager.gnome.enable = true;