summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/plasma5.nix
diff options
context:
space:
mode:
authorPasquale <p3dimaria@hotmail.it>2019-07-10 16:01:25 +0200
committerworldofpeace <worldofpeace@protonmail.ch>2019-07-18 19:59:07 -0400
commit90b1197301eb714e64a508c3be2dd073b24caed3 (patch)
tree82ff3e1cdf9ec022b0ce46d0132840ec35cf9504 /nixos/modules/services/x11/desktop-managers/plasma5.nix
parent2ce67ce18330cbd7c6239c993c6c8a3e103d412e (diff)
downloadnixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.tar
nixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.tar.gz
nixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.tar.bz2
nixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.tar.lz
nixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.tar.xz
nixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.tar.zst
nixpkgs-90b1197301eb714e64a508c3be2dd073b24caed3.zip
nixos/xdg: add portal option
This factors the configuration out of the flatpak module.
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/plasma5.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index dc8bfc7dc17..ce8d4956bab 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -224,6 +224,8 @@ in
       security.pam.services.sddm.enableKwallet = true;
       security.pam.services.slim.enableKwallet = true;
 
+      xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
+
       # Update the start menu for each user that is currently logged in
       system.userActivationScripts.plasmaSetup = ''
         # The KDE icon cache is supposed to update itself