tor-browser: Fix tor browser being unable to download any files
This commit is contained in:
parent
0b1c74693c
commit
8cfc0fa491
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# Refer to firefox.nix in the same directory for more information and a
|
# Refer to firefox.nix in the same directory for more information and a
|
||||||
# better version of this. This is barebones on purpose.
|
# better version of this. This is barebones on purpose.
|
||||||
|
|
||||||
# TODO: Fix file permissions. Right now it for some reason can't download anywhere.
|
# TODO: Fix file permissions. Right now it for some reason can't download anywhere.
|
||||||
|
@ -31,10 +31,13 @@
|
||||||
gpu.enable = true;
|
gpu.enable = true;
|
||||||
gpu.provider = "bundle";
|
gpu.provider = "bundle";
|
||||||
|
|
||||||
bubblewrap = {
|
bubblewrap = let
|
||||||
|
envSuffix = envKey: sloth.concat' (sloth.env envKey);
|
||||||
|
in {
|
||||||
bind.dev = [ "/dev/shm" ];
|
bind.dev = [ "/dev/shm" ];
|
||||||
|
|
||||||
bind.rw = [
|
bind.rw = [
|
||||||
|
(envSuffix "XDG_RUNTIME_DIR" "/gvfsd")
|
||||||
[(sloth.mkdir "/tmp/tor-browser") (sloth.concat' sloth.homeDir "/.tor project")]
|
[(sloth.mkdir "/tmp/tor-browser") (sloth.concat' sloth.homeDir "/.tor project")]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue