You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched a lot on how to set this in the home-manager configuration itself somewhere, but of course those are lousy search terms so I might just have missed it.
Is there an option that I need to set so this is being respected? Or is this a bug that needs to be fixed?
Are you following the right branch?
Is there an existing issue for this?
Issue description
Dear maintainers,
as discussed in https://discourse.nixos.org/t/permanently-use-a-sandbox-build-directory-outside-of-tmp/60353/, I am using home-manager on a Fedora-based device with only 8GB of RAM. Hence the
tmpfs
in/tmp
is too small, while/var/tmp/
has enough space.Setting
build-dir
in/etc/nix/nix.conf
(or/etc/nix/nix.custom.conf
) shows this setting when runningnix config show
:(As far as I found this obseletes setting the TMPDIR variable in the nix-daemon systemd unit file)
However, when using
home-manager
, I always need to prefix the command withTMPDIR=/var/tmp/
, otherwise the build fails due to missing space in/tmp
.I searched a lot on how to set this in the home-manager configuration itself somewhere, but of course those are lousy search terms so I might just have missed it.
Is there an option that I need to set so this is being respected? Or is this a bug that needs to be fixed?
Thanks in advance!
Kind Regards,
Johannes
Maintainer CC
No response
System information
The text was updated successfully, but these errors were encountered: