mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
hosts: reformat
hosts: reworded
parent
b4169dec7c
commit
65c254d4df
4
Hosts.md
4
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.
|
||||
|
|
Loading…
Reference in a new issue