This is public repository with script starting up in Cage environment
Please DO NOT include any private keys and secrets in this repo, it will be public for sake of easy pulling on kiosks!
- Install Nixos as a clean installation with internet
- Type in
nixos-shell -p git
to open shell with git git clone https://github.com/zgrate/InfosystemNixos.git
cp InfosystemNixos/install_repo.sh
chmod +x ./install_repo.sh
sudo ./install_repo.sh
exit
- After installation open configuration.nix (
sudo nano /etc/nixos/configuration.nix
) - Fill up the data between the quotes
- HOSTNAME -> What is the hostname of a device?
- SCREEN_IP -> IP Address of a ScreenSystemServer
- SCREEN_PASSPHRASE -> Passphrase of a given screen
- ZERO_TIER_NETWORK -> ID of a network in ZeroTier
- KIOSK_HASHED_PASSWORD -> Hashed password to a user KIOS (Use command
mkpasswd -m sha-512
to hash a password) - NETWORK_CONFIGURATION -> Specify network and password of networks to connect, in a setup seen in an example
- Save (CTRL+O -> Enter -> CTRL+X)
sudo nixos-rebuild reboot
- On restart you should get a black screen or automatic kiosk mode