# Pastebin gTHdsf8x nixpkgs.config.packageOverrides = super: let self = super.pkgs; in { self.xrdp = super.pkgs.xrdp.overrideDerivation (old: { postInstall = concatStrings [old.postInstall ''substituteInPlace $out/etc/xrdp/xrdp.ini --replace 'use_vsock=false' 'use_vsock=true' \ --replace 'security_layer=negotiate' 'security_layer=rdp' \ --replace 'bitmap_compression=true' 'bitmap_compression=false' \ --replace 'crypt_level=high' 'crypt_level=none' substituteInPlace $out/etc/xrdp/sesman.ini --replace 'FuseMountName=thinclient_drives' 'FuseMountName=shared-drives' '' ]; }); };