39 lines
1.5 KiB
Nix
39 lines
1.5 KiB
Nix
{ ... }:
|
|
{
|
|
flake.modules.homeManager.hyprland =
|
|
{ pkgs, ... }:
|
|
{
|
|
xdg = {
|
|
enable = true;
|
|
mime.enable = true;
|
|
mimeApps = {
|
|
enable = true;
|
|
defaultApplications = {
|
|
"text/plain" = "org.gnome.gedit.desktop";
|
|
"text/html" = "zen-beta.desktop";
|
|
"x-scheme-handler/http" = "zen-beta.desktop";
|
|
"x-scheme-handler/https" = "zen-beta.desktop";
|
|
"x-scheme-handler/about" = "zen-beta.desktop";
|
|
"x-scheme-handler/unknown" = "zen-beta.desktop";
|
|
"inode/directory" = "pcmanfm.desktop";
|
|
"application/zip" = "engrampa.desktop";
|
|
"application/x-7z-compressed" = "engrampa.desktop";
|
|
"application/x-tar" = "engrampa.desktop";
|
|
"application/x-compressed-tar" = "engrampa.desktop";
|
|
"application/x-bzip-compressed-tar" = "engrampa.desktop";
|
|
"application/x-bzip2" = "engrampa.desktop";
|
|
"application/x-xz-compressed-tar" = "engrampa.desktop";
|
|
"application/x-gzip" = "engrampa.desktop";
|
|
"application/x-rar" = "engrampa.desktop";
|
|
"application/x-rar-compressed" = "engrampa.desktop";
|
|
"application/x-zstd-compressed-tar" = "engrampa.desktop";
|
|
};
|
|
};
|
|
portal = {
|
|
enable = true;
|
|
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
|
configPackages = [ pkgs.hyprland ];
|
|
};
|
|
};
|
|
};
|
|
}
|