1.5 KiB
1.5 KiB
nixos-demo
NixOS Installation
boot the installation image
- download the minimal iso image
- use dd to prepare an USB stick
- boot from the stick
SSH connection
- use
passwd
to set a temporary password for thenixos
user - connect to the PC with
ssh nixos@nixos
- the official NixOS installation manual describes how to do an installation without the graphical installer
NixOS installation
- install
git
in a nix-shell for the installation process - start
nix run
with the related hostname to configure the disks and filesystems - start the NixOS installation process
nix-shell -p git
sudo nix --experimental-features "nix-command flakes" run 'github:nix-community/disko?tag=v1.12.0#disko' -- --mode disko --flake 'git+https://code.beancloud.de/public/nixos-demo.git?ref=main#pc-demo1'
sudo nixos-install --no-root-password --flake git+https://code.beancloud.de/public/nixos-demo.git?ref=main#pc-demo1