tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
todesk: bind tmpfs on /opt/todesk
wxt
1 year ago
4a565d6b
ef8cfa47
+2
-5
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
to
todesk
package.nix
+2
-5
pkgs/by-name/to/todesk/package.nix
···
41
41
pname = "todesk-unwrapped";
42
42
version = version;
43
43
src = fetchurl {
44
44
-
url = "https://newdl.todesk.com/linux/todesk-v${finalAttrs.version}-amd64.deb";
44
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
46
-
curlOptsList = [
47
47
-
"--user-agent"
48
48
-
"Mozilla/5.0"
49
49
-
];
50
46
};
51
47
nativeBuildInputs = [ dpkg ];
52
48
···
108
104
libva
109
105
];
110
106
extraBwrapArgs = [
107
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!