Skip to content

Commit

Permalink
xrdp: environment.pathsToLink from xserver.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
Volth committed May 2, 2017
1 parent 830669c commit 9bce416
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nixos/modules/services/networking/xrdp.nix
Expand Up @@ -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" ];
Expand Down

0 comments on commit 9bce416

Please sign in to comment.