I’m having trouble doing things from within nixos-enter
. Though to be fair to nixos-enter
, all the same issues appear when chroot
ing manually.
In particular,
iso$ sudo nixos-enter
chroot-root# su skainswo
chroot-skainswo$ nix-channel --update
error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted
Does any know what’s going wrong here? I’d like to install home-manager (following the directions here) in the /mnt NixOS system when booting from the ISO.
Seemingly related: error: could not set permissions on '/nix/var/nix/profiles/per-user' to 755: Operation not permitted · Issue #3435 · NixOS/nix · GitHub