This manual is available online. To read it locally, run:
$ lab-help
The latest Lab Manager ISO can be downloaded from GitHub actions. If the artifact has expired, build a new ISO as explained below.
A custom Lab Manager ISO can be built to modify the default client configuration.
Fork the GitHub repository. Then, modify the default client configuration at
hosts/lab-client/configuration.nix. Run the "Build" Action and download its artifact when after it finishes.
To copy the current configuration to a local directory, run:
$ cp --dereference --recursive --no-preserve all /etc/nixos swesbus-lab
$ cd swesbus-lab
To edit the client configuration, open hosts/lab-client/configuration.nix in a text editor or run:
$ nano hosts/lab-client/configuration.nix
To build a custom Lab Manager ISO, run:
$ nix build nix build .#lab-manager-iso
The generated ISO can be found at result/iso/.
The Lab Manager is a bootable ISO that can be used to install thin clients.
To set up a wireless connection, run:
$ nmtui
To copy the current configuration to a local directory, run:
$ cp --dereference --recursive --no-preserve all /etc/nixos swesbus-lab
$ cd swesbus-lab
To edit the client configuration, open hosts/lab-client/configuration.nix in a text editor or run:
$ nano hosts/lab-client/configuration.nix
To list available disks, run:
$ lsblk
To irrevocably erase, format and mount disk /dev/mmcblk0, run:
$ sudo disko --mode destroy,format,mount --flake .#lab-client-1
To install Lab Client 1 onto the mounted disk, run:
$ sudo nixos-install --flake .#lab-client-1
To restart the system, run:
$ reboot
To power off the system instead, run:
$ shutdown now
The Lab Client is a thin client that automatically connects to an RDP server. It can be installed using the Lab Manager.
To copy the current configuration to a local directory, run:
$ cp --dereference --recursive --no-preserve all /etc/nixos swesbus-lab
$ cd swesbus-lab
To edit the client configuration, open hosts/lab-client/configuration.nix in a text editor or run:
$ nano hosts/lab-client/configuration.nix
To apply the client configuration, run:
$ sudo nixos-rebuild switch --flake .