this post was submitted on 19 Jul 2023
5 points (100.0% liked)
nixos
1262 readers
2 users here now
All about NixOS - https://nixos.org/
founded 4 years ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Thanks! I do run it indeed as a user. I don't have a sudo access on this server so I would like to do a completely portable installation. I downloaded a portable binary for nix https://releases.nixos.org/?prefix=nix/nix-2.16.1/ and unpacked it on a file system, however when running nix it thinks that nix store is at
/nix/store
:So far I wasn't able to configure a different location for nix store: I created
~/.config/nix/nix.conf
and put this line insidenix.storeDir = /work/apps/nix/store
but it couldn't pick up the custom store location.