-
-
Save cleverca22/b38833fc71b8f265902f730e3269a08e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export root=/home/nixos/mnt/128gbsd/fsroot | |
mount -v /dev/mapper/crypt -o subvol=root $root | |
mount -v /dev/sda1 $root/boot | |
cryptsetup open /dev/sda2 crypt | |
mount -v /dev/mapper/crypt -o subvol=nix $root/nix | |
mount -v /dev/mapper/crypt -o subvol=home $root/home | |
mount -v /dev/mapper/crypt -o subvol=persist $root/persist | |
nixos-generate-config --root $root | |
nixos-install --root $root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment