fix xdg.mimeapps
This commit is contained in:
parent
4c5e35118f
commit
3b7af25083
1 changed files with 13 additions and 0 deletions
|
|
@ -27,6 +27,19 @@
|
||||||
config.common.default = [ "gnome" ];
|
config.common.default = [ "gnome" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Without a full Plasma session, kbuildsycoca6 has no XDG applications
|
||||||
|
# menu to build KServices from, so Dolphin can't resolve default apps and
|
||||||
|
# fails to open files with KDE apps (ark/gwenview) — "org.kde.ark was not
|
||||||
|
# found". Ship the Plasma menu under both names it may be looked up as
|
||||||
|
# (XDG_MENU_PREFIX=plasma- expects plasma-applications.menu).
|
||||||
|
# https://github.com/NixOS/nixpkgs/issues/409986
|
||||||
|
environment.etc = {
|
||||||
|
"xdg/menus/applications.menu".source =
|
||||||
|
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||||
|
"xdg/menus/plasma-applications.menu".source =
|
||||||
|
"${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu";
|
||||||
|
};
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue