Provides the configuration for various servers running Leigh Hackspack infrastructure.
scripts/boot.sh # Build for next reboot
scripts/switch.sh # Build and apply now
sudo nixos-confirm # Mark this generation as good as we don't get rollbacked
list-generations # List generations including the last "good", the current and what was bootedUnless sudo nixos-confirm is run within 5 minutes of a new generation being applied, the previous known good configuration will be restored and the system rebooted. This is to prevent remotely bricking a machine.
Path: machines/services1
Various hackspace services for members. See README.md.
Path: machines/aibox
Experimental machine with LLMs and Stable Diffusion
Run the list-generations script directly from this flake without cloning:
nix run github:leigh-hackspace/infrastructure-nix-flake#listGenerationsShow accurate information about generations.
Example output:
[cjdell@NixOS-Router:~]$ nix run github:leigh-hackspace/infrastructure-nix-flake#listGenerations
╭───┬────────────┬───────────┬──────┬─────────┬────────╮
│ # │ Generation │ Date │ Good │ Current │ Booted │
├───┼────────────┼───────────┼──────┼─────────┼────────┤
│ 0 │ 313 │ a day ago │ ❌ │ ❌ │ ✅ │
│ 1 │ 314 │ a day ago │ ✅ │ ❌ │ ❌ │
│ 2 │ 315 │ a day ago │ ❌ │ ✅ │ ❌ │
╰───┴────────────┴───────────┴──────┴─────────┴────────╯