From 9bce416637ec210925addb7babfdc367dd99b12d Mon Sep 17 00:00:00 2001 From: Volth Date: Tue, 2 May 2017 21:07:57 +0000 Subject: [PATCH] xrdp: environment.pathsToLink from xserver.nix --- nixos/modules/services/networking/xrdp.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/services/networking/xrdp.nix b/nixos/modules/services/networking/xrdp.nix index 634b0e7efb6..bf23c6ae619 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 + # 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" ];