summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@users.noreply.github.com>2019-02-28 19:12:28 -0500
committerworldofpeace <worldofpeace@users.noreply.github.com>2019-02-28 19:12:28 -0500
commit2e5f64bb83c41586f3c33505ce0f80075ff8cb4f (patch)
tree154d21c6cbe33d21dbfbcba167a96071a1cbf95e /nixos/modules
parent898870824d708fac857479f755ab38a657905abc (diff)
downloadnixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.tar
nixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.tar.gz
nixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.tar.bz2
nixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.tar.lz
nixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.tar.xz
nixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.tar.zst
nixpkgs-2e5f64bb83c41586f3c33505ce0f80075ff8cb4f.zip
nixos/plasma5: add xdg-user-dirs to create user directories
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/x11/desktop-managers/plasma5.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index 704cc78c152..ace9dd5321b 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -163,6 +163,8 @@ in
 
           libsForQt56.phonon-backend-gstreamer
           libsForQt5.phonon-backend-gstreamer
+
+          xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
         ]
 
         ++ lib.optionals cfg.enableQt4Support [ pkgs.phonon-backend-gstreamer ]
@@ -175,9 +177,9 @@ in
         ++ lib.optional config.services.colord.enable colord-kde
         ++ lib.optionals config.services.samba.enable [ kdenetwork-filesharing pkgs.samba ];
 
-      environment.pathsToLink = [ 
+      environment.pathsToLink = [
         # FIXME: modules should link subdirs of `/share` rather than relying on this
-        "/share" 
+        "/share"
       ];
 
       environment.etc = singleton {