xrdp: environment.pathsToLink from xserver.nix

This commit is contained in:
Volth 2017-05-02 21:07:57 +00:00
parent 830669ca05
commit 9bce416637

View File

@ -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" ];