-
Boot into plasma live install env
-
Make partitions (for legacy boot)
- Open Gparted
- Make msdos partition table
- Make main partition:
- (IMPORTANT) label: "nixos"
- ext4
- Size: Full disk minus amount of swap space
- Make swap partition
- (IMPORTANT) label: "swap"
- linux-swap
- Size: 4GB
-
Open terminal (konsole in plasma) and get root (with
sudo su
) -
Mount main partition (swap not used for install)
mount /dev/disk/by-label/nixos /mnt
-
Get dotfiles
# Open up a temporary environment with git installed nix-env -iA nixos.git # Clone dotfiles git clone https://github.com/jlndk/dotfiles.git /mnt/dotfiles # Change to mounted directory cd /mnt/dotfiles # Install nixos with the downloaded config nixos-install --root /mnt --flake .#jlndk
-
Reboot (and remove live install env)