From 65c254d4dfe60d2d23eec9f1d36f52b3a2cd4725 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 10 Jun 2024 13:59:32 -0400 Subject: [PATCH] hosts: reformat hosts: reworded --- Hosts.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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.