This repo contains a nix flake with:
- a NixOS module for the "Talentop"s (Talent's laptops used e.g. on camps)
- an installer for the aforementioned system
Prerequisites:
- nix with the
nix-command
andflakes
experimental features - an internet connection for downloading roughly 1.5GB (usually only for the first build)
Steps:
nix build .#installer-iso
in the repo root- The ISO is in result/iso
- Get the ISO
- Flash it to a pendrive (
dd if=iso.iso of=/dev/sdX
should do the trick) - Boot the pendrive. If you don't have ethernet, set wifi up in another tty.
- Follow the on-screen instructions
- the hostname ought to be
talentop-XXX
where XXX is the code from a sticker - pay attention to the prompt about clearing the user's home
- enter the root password, which should be known among us (the technical staff)
- the hostname ought to be
If the nixos release in this repo was changed, then it is preferable to reinstall from a new ISO in order to avoid large downloads.
Otherwise:
- Get an internet connection on the talentop
su
to root andcd /etc/nixos
- Run
nix flake lock --update-input talentnix
andnixos-rebuild switch