Change root: Difference between revisions
imported>Ahoneybun m Adds the mount command for /run from the host OS so that rebuild command works. |
imported>Ahoneybun No edit summary |
||
Line 36: | Line 36: | ||
mount -o bind /proc /mnt/proc | mount -o bind /proc /mnt/proc | ||
mount -o bind /sys /mnt/sys | mount -o bind /sys /mnt/sys | ||
chroot /mnt /nix/var/nix/profiles/system/activate | chroot /mnt /nix/var/nix/profiles/system/activate | ||
chroot /mnt /run/current-system/sw/bin/bash | chroot /mnt /run/current-system/sw/bin/bash |