xrdp: environment.pathsToLink from xserver.nix

Volth 9bce4166 830669ca

+5
+5
nixos/modules/services/networking/xrdp.nix
··· 93 93 94 94 config = mkIf cfg.enable { 95 95 96 + # copied from <nixos/modules/services/x11/xserver.nix> 97 + # xrdp can run X11 program even if "services.xserver.enable = false" 98 + environment.pathsToLink = 99 + [ "/etc/xdg" "/share/xdg" "/share/applications" "/share/icons" "/share/pixmaps" ]; 100 + 96 101 systemd = { 97 102 services.xrdp = { 98 103 wantedBy = [ "multi-user.target" ];