chore(gaspard): Added simple xdg mime type config

This commit is contained in:
GaspardCulis 2024-11-18 09:19:51 +01:00
parent ec7a3de7ff
commit 0287a5e87c
2 changed files with 19 additions and 7 deletions

View file

@ -39,6 +39,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
egl-wayland # For NVIDIA compatibility egl-wayland # For NVIDIA compatibility
xdg-utils
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
# Common DE packages required in config # Common DE packages required in config
wl-clipboard wl-clipboard

View file

@ -1,11 +1,4 @@
{...}: { {...}: {
home.username = "gaspard";
home.homeDirectory = "/home/gaspard";
home.stateVersion = "24.05";
programs.home-manager.enable = true;
programs.direnv.enable = true;
imports = [ imports = [
../shell ../shell
../term ../term
@ -14,4 +7,22 @@
../gaming ../gaming
../themes/pomme.nix ../themes/pomme.nix
]; ];
home.username = "gaspard";
home.homeDirectory = "/home/gaspard";
home.stateVersion = "24.05";
programs.home-manager.enable = true;
programs.direnv.enable = true;
xdg.mimeApps = {
enable = true;
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";
};
};
} }