0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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 { 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 = { systemd = {
services.xrdp = { services.xrdp = {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];