this post was submitted on 19 Jul 2023
5 points (100.0% liked)

nixos

1245 readers
1 users here now

All about NixOS - https://nixos.org/

founded 4 years ago
 

First of all, I'm completely new to Nix and I have no idea what I'm doing. I would like to use it initially as a more general purpose replacement of conda environments for my AI-development workflow. To begin with, I'd like to install nix package manager at my work server where I don't have root access. I tried

sh <(curl -L https://nixos.org/nix/install) --no-daemon

however it tries to create /nix which I cannot do without sudo. I searched everywhere, but I don't seem to find a way to circumvent this.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] ck_@discuss.tchncs.de 4 points 1 year ago (4 children)

Nix has poor support for having a store path other than /nix/store. Your best bet is probably a helper like nix-portable, which uses Flatpack-like containers to emulate access to /nix

load more comments (3 replies)