nixos-config/user/app/browser/floorp.nix

20 lines
478 B
Nix
Raw Normal View History

2024-01-14 08:29:35 +05:30
{ 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";
};
}