hosts: reformat

hosts: reworded
Aly Raffauf 2024-06-10 13:59:32 -04:00
parent b4169dec7c
commit 65c254d4df

@ -1,5 +1,3 @@
## Hosts
| Host | lavaridge | petalburg | rustboro |
|---------|----------------------|-------------------------|------------------------|
| Model | Framework Laptop 13 | Lenovo Yoga 9i Gen 8 | ThinkPad T440p |
@ -20,7 +18,7 @@
| Storage | 512GB M.2 PCIe 3.0 | 1TB M.2 PCIe 3.0 |
| Desktop | Hyprland | Sway |
## Provisioning New Hosts
## Provisioning New Devices
1. Create `hosts/$HOSTNAME/default.nix` and other host-specific nix modules (e.g. `disko.nix`,`hardware.nix`, and `home.nix`).
2. Add host to `nixosConfigurations` in `flake.nix`.
3. (OPTIONAL) Generate a `cert.pem`, `key.pem`, and device ID for Syncthing with `syncthing -generate=$HOSTNAME`. Find the device ID in the generated `config.xml` and add it to `nixosModules/services/syncthing/default.nix`, encrypt the cert and key with agenix, and set them as appropriate in the host configuration.