Having a really strange issue setting up my Steam library drive
I’m able to add the folder in the mount on the correct drive and Steam writes to it, but the free space it shows is of my boot drive, so I can’t actually install big games
Steam config
...
programs = {
steam = {
enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
appimage = {
enable = true;
binfmt = true;
};
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
];
hardware = {
xone.enable = true;
steam-hardware.enable = true;
};
...
2nd drive mount config
...
fileSystems."/mnt/games" =
{
device = "/dev/disk/by-uuid/9a1e945f-eed8-42c3-9c90-63fa34771a54";
fsType = "ext4";
options = [ "nofail" "user" "rw" "exec" "uid=berto" ];
};
...
Permissions look good to me
> lsa /mnt/games/Steam ─╯
total 16K
drwxr-xr-x 3 berto users 4.0K May 27 16:37 .
drwxr-xr-x 3 berto users 4.0K May 27 16:36 ..
-rwxr-xr-x 1 berto users 69 May 27 16:37 libraryfolder.vdf
drwxr-xr-x 2 berto users 4.0K May 27 16:37 steamapps
In my reasearch I found someone on Reddit mention that because of how Steam is sandboxed the dir should be in the user’s home folder so I tried both a symlink and mount --bind into my home folder but that doesn’t fix it
Has anyone gotten this kind of setup working?