diff --git a/Hosts.md b/Hosts.md index 7fd10f6..296c082 100644 --- a/Hosts.md +++ b/Hosts.md @@ -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.