From 5420786f5b994b088edbe0b6008d7b0c489b5d0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kha=C3=AFs=20COLIN?= Date: Wed, 7 Aug 2024 18:02:34 +0200 Subject: [PATCH] dolphin: fix file associations not working --- nixos/configuration.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index f3524f3..0ea868d 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -94,10 +94,6 @@ description = "Khaïs COLIN"; extraGroups = [ "networkmanager" "wheel" ]; shell = pkgs.zsh; - packages = with pkgs; [ - kdePackages.kate - # thunderbird - ]; }; users.users.guest = { @@ -135,6 +131,10 @@ wluma # man pages man-pages man-pages-posix + # kde + kdePackages.kate kdePackages.plasma-workspace kdePackages.dolphin + # fix kde apps having no icons + kdePackages.qtsvg ]; # set global environment variables @@ -142,6 +142,8 @@ # I don't know what this does, but it is needed for wluma to work correctly. # It will also slightly increase cpu usage (on wayland compositors), but shouldn't be too bad. WLR_DRM_NO_MODIFIERS = 1; + # fix dolphin file associations not working + XDG_MENU_PREFIX = "plasma-"; }; # Some programs need SUID wrappers, can be configured further or are