- Download the NixOS minimal installation CD
- Install NixOS by following the installation instructions
- For full disk encryption with LUKS and encrypted root
After partitioning, before running nixos-genrate-config:
# mkdir /mnt/etc
# nix-env -i git vim
# cd /mnt/etc
# git clone https://github.com/juselius/nixos-configuration nixos
# cd /mnt/etc/nixos
# nixos-generate-config --show-hardware-config >>hardware-configuration.nix
# vim configuration.nix
# vim users.nix
# nixos-install
# reboot
# su - username
$ git clone https://github.com/juselius/dotfiles .dotfiles
$ git clone https://github.com/juselius/xmonad .xmonad
$ ln -s .dotfiles/default.nix .
$ vim default.nix
$ nix-home