Move mimeApps, implemented at wrong level
This commit is contained in:
parent
05077d26d9
commit
84c189b093
|
@ -38,15 +38,4 @@
|
|||
style = "gtk2";
|
||||
platformTheme = "gtk2";
|
||||
};
|
||||
xdg.mimeApp = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"image/jpeg" = [ "swayimg.desktop" "emacs.desktop" ];
|
||||
"image/png" = [ "swayimg.desktop" "emacs.desktop" ];
|
||||
};
|
||||
associations.added = {
|
||||
"image/jpeg" = [ "swayimg.desktop" ];
|
||||
"image/png" = [ "swayimg.desktop" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -65,10 +65,23 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
xdg.portal = {
|
||||
xdg = {
|
||||
portal = {
|
||||
enable = true;
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||
};
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"image/jpeg" = [ "swayimg.desktop" ];
|
||||
"image/png" = [ "swayimg.desktop" ];
|
||||
};
|
||||
associations.added = {
|
||||
"image/jpeg" = [ "swayimg.desktop" ];
|
||||
"image/png" = [ "swayimg.desktop" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
programs = {
|
||||
hyprland = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue