enable mime support in home-manager
This commit is contained in:
parent
9b79ea50e6
commit
dba3bbfb31
1 changed files with 14 additions and 0 deletions
|
|
@ -138,6 +138,20 @@ in
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
|
extraPortals = [ pkgs.xdg-desktop-portal-gnome ];
|
||||||
configPackages = [ pkgs.niri ];
|
configPackages = [ pkgs.niri ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
mime = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
# If I have a monitor I want niri with my config, but niri wants it at that spot
|
# If I have a monitor I want niri with my config, but niri wants it at that spot
|
||||||
configFile = {
|
configFile = {
|
||||||
"mimeapps.list".force = true;
|
"mimeapps.list".force = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue