lol

todesk: bind tmpfs on /opt/todesk

wxt 4a565d6b ef8cfa47

+2 -5
+2 -5
pkgs/by-name/to/todesk/package.nix
··· 41 41 pname = "todesk-unwrapped"; 42 42 version = version; 43 43 src = fetchurl { 44 - url = "https://newdl.todesk.com/linux/todesk-v${finalAttrs.version}-amd64.deb"; 44 + url = "https://web.archive.org/web/20250302114501if_/https://newdl.todesk.com/linux/todesk-v4.7.2.0-amd64.deb"; 45 45 hash = "sha256-v7VpXXFVaKI99RpzUWfAc6eE7NHGJeFrNeUTbVuX+yg="; 46 - curlOptsList = [ 47 - "--user-agent" 48 - "Mozilla/5.0" 49 - ]; 50 46 }; 51 47 nativeBuildInputs = [ dpkg ]; 52 48 ··· 108 104 libva 109 105 ]; 110 106 extraBwrapArgs = [ 107 + "--tmpfs /opt/todesk" 111 108 "--bind /var/lib/todesk /opt/todesk/config" # create the folder before bind to avoid permission denided. 112 109 "--bind ${todesk-unwrapped}/bin /opt/todesk/bin" 113 110 "--bind /var/lib/todesk /etc/todesk" # service write uuid here. Such a pain!