1
0
Fork 0
NixOS configuration for pre-installed Linux computers
Go to file
Sebastien Bourdeauducq 97fe25836b intel_idle is still buggy 2023-01-04 11:53:41 +08:00
final intel_idle is still buggy 2023-01-04 11:53:41 +08:00
README no nixos-rebuild --upgrade with flakes 2023-01-04 10:35:32 +08:00

README

Installation commands for NUC:

parted /dev/nvme0n1 -- mklabel gpt
parted /dev/nvme0n1 -- mkpart primary 512MiB 100%
parted /dev/nvme0n1 -- mkpart ESP fat32 1MiB 512MiB
parted /dev/nvme0n1 -- set 2 esp on
mkfs.ext4 -L nixos /dev/nvme0n1p1
mkfs.fat -F 32 -n boot /dev/nvme0n1p2
mount /dev/disk/by-label/nixos /mnt
mkdir -p /mnt/boot
mount /dev/disk/by-label/boot /mnt/boot
nixos-generate-config --root /mnt
# copy configuration to /mnt/etc/nixos
nix-env -iA nixos.git
nixos-install --flake /mnt/etc/nixos#artiq
reboot
# run memtest86

After installation is finalized:
* copy device database to ~/artiq
* set timezone
* comment out openssh.authorizedKeys.keys
* sudo nixos-rebuild boot
* sudo nix-collect-garbage -d
* history clear