This commit is contained in:
caem 2025-01-25 15:36:03 +01:00
parent 91148ed9a2
commit 7266529146
Signed by: caem
GPG key ID: 69A830D03203405F
3 changed files with 14 additions and 3 deletions

View file

@ -57,8 +57,6 @@
tmpfs = [ "/tmp" ];
bind.rw = [
(sloth.concat' sloth.homeDir "/download")
(envSuffix "XDG_RUNTIME_DIR" "/at-spi/bus")
(envSuffix "XDG_RUNTIME_DIR" "/gvfsd")
(envSuffix "XDG_RUNTIME_DIR" "/pulse")

View file

@ -1,6 +1,8 @@
# Refer to firefox.nix in the same directory for more information and a
# 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: {
tor-browser = let
sandboxed-tor-browser = prev.mkNixPak {
@ -33,7 +35,6 @@
bind.dev = [ "/dev/shm" ];
bind.rw = [
(sloth.concat' sloth.homeDir "/download")
[(sloth.mkdir "/tmp/tor-browser") (sloth.concat' sloth.homeDir "/.tor project")]
];

12
overlays/steam.nix Normal file
View 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"
];
};
}