about summary refs log tree commit diff
path: root/nixos/modules/services/networking/xrdp.nix
diff options
context:
space:
mode:
authorVolth <volth@webmaster.ms>2017-05-02 21:07:57 +0000
committerVolth <volth@webmaster.ms>2017-05-02 21:08:07 +0000
commit9bce416637ec210925addb7babfdc367dd99b12d (patch)
tree70ece30307de600ac166aa8f92fbe9d2a8e71089 /nixos/modules/services/networking/xrdp.nix
parent830669ca05c41545679f452957baed18abc9a927 (diff)
xrdp: environment.pathsToLink from xserver.nix
Diffstat (limited to 'nixos/modules/services/networking/xrdp.nix')
-rw-r--r--nixos/modules/services/networking/xrdp.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/xrdp.nix b/nixos/modules/services/networking/xrdp.nix
index 634b0e7efb6dd..bf23c6ae61921 100644
--- a/nixos/modules/services/networking/xrdp.nix
+++ b/nixos/modules/services/networking/xrdp.nix
@@ -93,6 +93,11 @@ in
 
   config = mkIf cfg.enable {
 
+    # copied from <nixos/modules/services/x11/xserver.nix>
+    # xrdp can run X11 program even if "services.xserver.enable = false"
+    environment.pathsToLink =
+      [ "/etc/xdg" "/share/xdg" "/share/applications" "/share/icons" "/share/pixmaps" ];
+
     systemd = {
       services.xrdp = {
         wantedBy = [ "multi-user.target" ];