nixos-config/user/app/browser/floorp.nix
2024-01-13 20:59:35 -06:00

20 lines
478 B
Nix

{ config, lib, pkgs, wmType, font, ... }:
{
# Module installing as default browser
home.packages = [ pkgs.floorp ];
home.sessionVariables = {
DEFAULT_BROWSER = "${pkgs.floorp}/bin/floorp";
};
xdg.mimeApps.defaultApplications = {
"text/html" = "floorp.desktop";
"x-scheme-handler/http" = "floorp.desktop";
"x-scheme-handler/https" = "floorp.desktop";
"x-scheme-handler/about" = "floorp.desktop";
"x-scheme-handler/unknown" = "floorp.desktop";
};
}