[<<][nixos][>>][..]
Sun Sep 10 15:18:59 EDT 2017

First time install on X201

https://nixos.org/nixos/download.html

Download minimal 64bit .iso from website
dd it to USB flash drive and boot
Alt-F8 is manual
Alt-F1 is console
# fdisk
# mkfs.ext4 -L nixos /dev/sda1
# mount /dev/disk/by-label/nixos /mnt
# nixos-generate-config --root /mnt
# nano /mnt/etc/nixos/configuration.nix
edit: boot.loader.grub.device = "/dev/sda";
# nixos-install
Provide root password at end of install
# reboot


OK on 320G 2.5 internal sata drive.
OK on 16G SD card.
Likely will have to patch the grub device after boot (if it boots).

# nix-env -i emacs git darcs openssh

After editing /etc/nixos/configuration.nix
# nixos-rebuild switch


# wpa_passphrase <sid> <passphrase > /etc/wpa_supplicant.co




[Reply][About]
[<<][nixos][>>][..]