Skip to main content

Install

We follow the UEFI part of the official Installation Guide:
NixOS Installation Guide.

Partitioning

Partition the storage using sudo fdisk /dev/sdc. In the interactive prompt partition the storage those settings:

  • g (gpt disk label)
  • n
  • 1 (partition number [1/128])
  • 2048 first sector
  • +500M last sector (boot sector size)
  • t
  • 1 (EFI System)
  • n
  • 2
  • default (fill up partition)
  • default (fill up partition)
  • w (write)

install git

rebild with experimental features nix-command and flake

nix.settings.experimental-features = ["nix-command" "flakes" ];

networking.hostName = "eliasDesktop";

copy repo to /etc/nixos and rebuild

dont forget to add the correct hardware-configuration...