dementia
This commit is contained in:
parent
91148ed9a2
commit
7266529146
3 changed files with 14 additions and 3 deletions
|
@ -57,8 +57,6 @@
|
||||||
tmpfs = [ "/tmp" ];
|
tmpfs = [ "/tmp" ];
|
||||||
|
|
||||||
bind.rw = [
|
bind.rw = [
|
||||||
(sloth.concat' sloth.homeDir "/download")
|
|
||||||
|
|
||||||
(envSuffix "XDG_RUNTIME_DIR" "/at-spi/bus")
|
(envSuffix "XDG_RUNTIME_DIR" "/at-spi/bus")
|
||||||
(envSuffix "XDG_RUNTIME_DIR" "/gvfsd")
|
(envSuffix "XDG_RUNTIME_DIR" "/gvfsd")
|
||||||
(envSuffix "XDG_RUNTIME_DIR" "/pulse")
|
(envSuffix "XDG_RUNTIME_DIR" "/pulse")
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
# 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.
|
||||||
|
|
||||||
{ ... }: final: prev: {
|
{ ... }: final: prev: {
|
||||||
tor-browser = let
|
tor-browser = let
|
||||||
sandboxed-tor-browser = prev.mkNixPak {
|
sandboxed-tor-browser = prev.mkNixPak {
|
||||||
|
@ -33,7 +35,6 @@
|
||||||
bind.dev = [ "/dev/shm" ];
|
bind.dev = [ "/dev/shm" ];
|
||||||
|
|
||||||
bind.rw = [
|
bind.rw = [
|
||||||
(sloth.concat' sloth.homeDir "/download")
|
|
||||||
[(sloth.mkdir "/tmp/tor-browser") (sloth.concat' sloth.homeDir "/.tor project")]
|
[(sloth.mkdir "/tmp/tor-browser") (sloth.concat' sloth.homeDir "/.tor project")]
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
12
overlays/steam.nix
Normal file
12
overlays/steam.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ ... }: final: prev: {
|
||||||
|
steam = prev.steam.override {
|
||||||
|
extraBwrapArgs = [
|
||||||
|
"--bind $HOME/.local/steam_home $HOME"
|
||||||
|
"--unsetenv XDG_CACHE_HOME"
|
||||||
|
"--unsetenv XDG_CONFIG_HOME"
|
||||||
|
"--unsetenv XDG_DATA_HOME"
|
||||||
|
"--unsetenv XDG_STATE_HOME"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue