Hi
I have installed steam on NixOS using programs.steam.enable
. As it is packaged as a FHS package when I try to add a new steam library, the directory tree it displays is not the actual root of the host filesystem but the filesystem of the container with the user home directory mounted inside.
My issue is that on my case, the home directory is a luks container with a limited size, so I do not want to install games in it. I would like to add a folder I placed in /opt
or /mnt
in the host filesystem (I would prefer not use any partition for this).
I tried to bindfs a /opt/steamgames
directory from the host filesystem into my home located in the luks container but I saw that the size of the games are now subtracted from both filesystems (the luks container and the host filesystem) so it defeats the purpose.
I was wondering how I can add any other directory of the host filesystem to the steam container filesystem.