treewide: format markdown
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m18s

This commit is contained in:
2025-08-15 21:38:30 +01:00
parent 77ca125bde
commit a6b2311289
12 changed files with 106 additions and 46 deletions

View File

@@ -10,10 +10,12 @@ System and user configuration for NixOS-based systems.
| **Terminal:** | Ghostty | | **Terminal:** | Ghostty |
## Provisioning a new host ## Provisioning a new host
> [nixos-anywhere](https://github.com/nix-community/nixos-anywhere) is the module used > [nixos-anywhere](https://github.com/nix-community/nixos-anywhere) is the module used
> for provisioning > for provisioning
Generate a new SSH host key in "$temp/etc/ssh" as per [this guide](https://nix-community.github.io/nixos-anywhere/howtos/secrets.html#example-decrypting-an-openssh-host-key-with-pass). Generate a new SSH host key in "$temp/etc/ssh" as per [this guide](https://nix-community.github.io/nixos-anywhere/howtos/secrets.html#example-decrypting-an-openssh-host-key-with-pass).
``` ```
ssh-keygen -t ed25519 -f /tmp/ssh_host_ed25519_key ssh-keygen -t ed25519 -f /tmp/ssh_host_ed25519_key
``` ```
@@ -29,6 +31,7 @@ Create a new directory under `hosts/` with a system configuration and disk layou
Boot the NixOS installer (or any Linux distribution) on the target. Boot the NixOS installer (or any Linux distribution) on the target.
Then run: Then run:
``` ```
nix run github:nix-community/nixos-anywhere -- \ nix run github:nix-community/nixos-anywhere -- \
--disk-encryption-keys /tmp/secret.key /tmp/secret.key \ --disk-encryption-keys /tmp/secret.key /tmp/secret.key \
@@ -40,15 +43,19 @@ nix run github:nix-community/nixos-anywhere -- \
### Post install ### Post install
If backups are configured, you'll need to run: If backups are configured, you'll need to run:
``` ```
borgmatic init --encryption repokey-blake2 borgmatic init --encryption repokey-blake2
``` ```
then restart `borgmatic`. then restart `borgmatic`.
To join the Tailscale network, run: To join the Tailscale network, run:
``` ```
tailscale up --login-server https://headscale.vimium.net tailscale up --login-server https://headscale.vimium.net
``` ```
then visit the URL, SSH onto `vps1` and run `headscale --user mesh nodes register --key <key>`. then visit the URL, SSH onto `vps1` and run `headscale --user mesh nodes register --key <key>`.
The new node can optionally be given a friendly name with `headscale node rename -i <index> <hostname>`. The new node can optionally be given a friendly name with `headscale node rename -i <index> <hostname>`.

View File

@@ -1,22 +1,26 @@
# Artemis # Artemis
## Overview ## Overview
Couch gaming PC and media centre Couch gaming PC and media centre
## Specs ## Specs
* CPU - AMD Ryzen 7 9800X3D @ 4.70GHz
* Chipset - AMD B850 - CPU - AMD Ryzen 7 9800X3D @ 4.70GHz
* Memory - 64 GB DDR5 - Chipset - AMD B850
* Motherboard - ASUS ROG STRIX B850-I Gaming WiFi - Memory - 64 GB DDR5
* GPU - AMD Radeon 7900 XTX - Motherboard - ASUS ROG STRIX B850-I Gaming WiFi
* Case - MCPRUE Apollo S v4 - GPU - AMD Radeon 7900 XTX
- Case - MCPRUE Apollo S v4
### Disks ### Disks
Device | Partitions _(filesystem, size, usage)_ Device | Partitions _(filesystem, size, usage)_
--- | --- --- | ---
WD Black SN850X | `/dev/nvme0n1p1` (EFI, 500 MiB, NixOS Boot) <br> `/dev/nvme0n1p2` (ZFS, 4 TiB, NixOS Root) WD Black SN850X | `/dev/nvme0n1p1` (EFI, 500 MiB, NixOS Boot) <br> `/dev/nvme0n1p2` (ZFS, 4 TiB, NixOS Root)
#### ZFS pool layout #### ZFS pool layout
``` ```
rpool/ rpool/
├── local ├── local
@@ -32,5 +36,6 @@ rpool/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets.
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `artemis.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `artemis.mesh.vimium.net`.

View File

@@ -1,24 +1,28 @@
# Atlas # Atlas
## Overview ## Overview
A general purpose mini computer used for web browsing and multimedia. A general purpose mini computer used for web browsing and multimedia.
## Specs ## Specs
* CPU - Intel Core i7-4790K @ 4.00GHz
* Chipset - Intel Z97 - CPU - Intel Core i7-4790K @ 4.00GHz
* Memory - 8 GB DDR3 - Chipset - Intel Z97
* Motherboard - ASRock Z97M-ITX - Memory - 8 GB DDR3
* GPU - AMD Radeon R9 290X 4GB - Motherboard - ASRock Z97M-ITX
* Case - SilverStone Sugo SG13 - GPU - AMD Radeon R9 290X 4GB
* NIC - Intel Gigabit I218-V, Broadcom BCM4360 802.11ac - Case - SilverStone Sugo SG13
- NIC - Intel Gigabit I218-V, Broadcom BCM4360 802.11ac
### Disks ### Disks
Device | Partitions _(filesystem, size, usage)_ Device | Partitions _(filesystem, size, usage)_
--- | --- --- | ---
Samsung SSD 850 | `/dev/sda1` (NTFS, 500 GiB, Windows XP) Samsung SSD 850 | `/dev/sda1` (NTFS, 500 GiB, Windows XP)
Samsung SSD 850 | `/dev/sdb1` (EFI, 500 MiB, NixOS Boot) <br> `/dev/sdb2` (ZFS, 500 GiB, NixOS Root) Samsung SSD 850 | `/dev/sdb1` (EFI, 500 MiB, NixOS Boot) <br> `/dev/sdb2` (ZFS, 500 GiB, NixOS Root)
#### ZFS pool layout #### ZFS pool layout
``` ```
rpool/ rpool/
├── local ├── local
@@ -34,5 +38,6 @@ rpool/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets.
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `atlas.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `atlas.mesh.vimium.net`.

View File

@@ -1,18 +1,22 @@
# Eos # Eos
## Overview ## Overview
ThinkPad X220 laptop. ThinkPad X220 laptop.
## Specs ## Specs
* CPU - Intel Core i5-2520M @ 3.20GHz
* Memory - 8 GB DDR3 - CPU - Intel Core i5-2520M @ 3.20GHz
- Memory - 8 GB DDR3
### Disks ### Disks
Device | Partitions _(filesystem, usage)_ Device | Partitions _(filesystem, usage)_
--- | --- --- | ---
Solid | `/dev/sda1` (EFI, NixOS Boot) <br> `/dev/sda2` (ZFS, NixOS Root) Solid | `/dev/sda1` (EFI, NixOS Boot) <br> `/dev/sda2` (ZFS, NixOS Root)
#### ZFS pool layout #### ZFS pool layout
``` ```
rpool/ rpool/
├── local ├── local
@@ -28,5 +32,6 @@ rpool/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets.
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `eos.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `eos.mesh.vimium.net`.

View File

@@ -1,16 +1,19 @@
# Helios # Helios
## Overview ## Overview
Dell OptiPlex 980 small form factor desktop. Dell OptiPlex 980 small form factor desktop.
## Specs ## Specs
* CPU - Intel Core i7-860 @ 2.8GHz
* Chipset - Intel Q57 Express - CPU - Intel Core i7-860 @ 2.8GHz
* Memory - 8 GB DDR2 - Chipset - Intel Q57 Express
* GPU - AMD FirePro 2460 - Memory - 8 GB DDR2
* NIC - Intel Gigabit 82578DM - GPU - AMD FirePro 2460
- NIC - Intel Gigabit 82578DM
### Disks ### Disks
Device | Partitions _(filesystem, size, usage)_ Device | Partitions _(filesystem, size, usage)_
--- | --- --- | ---
SanDisk Ultra II | `/dev/sda1` (ext2, 200 MiB, NixOS Boot) <br> `/dev/sda2` (ZFS, 480 GiB, NixOS Root) SanDisk Ultra II | `/dev/sda1` (ext2, 200 MiB, NixOS Boot) <br> `/dev/sda2` (ZFS, 480 GiB, NixOS Root)
@@ -19,6 +22,7 @@ SanDisk Ultra II | `/dev/sda1` (ext2, 200 MiB, NixOS Boot) <br> `/dev/sda2` (ZFS
> an MBR partition table. > an MBR partition table.
#### ZFS pool layout #### ZFS pool layout
``` ```
rpool/ rpool/
├── local ├── local
@@ -34,5 +38,6 @@ rpool/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets.
### Networks ### Networks
- DHCP on `192.168.1.0/24` subnet. - DHCP on `192.168.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `helios.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `helios.mesh.vimium.net`.

View File

@@ -1,21 +1,25 @@
# Hypnos # Hypnos
## Overview ## Overview
15-inch MacBook Pro 11,3 (Mid 2014). 15-inch MacBook Pro 11,3 (Mid 2014).
## Specs ## Specs
* CPU - Intel Core i7-4870HQ @ 2.50GHz
* Memory - 16 GB DDR3 - CPU - Intel Core i7-4870HQ @ 2.50GHz
* GPU - Intel Iris Pro 5200 - Memory - 16 GB DDR3
* GPU - NVIDIA GeForce GT 750M - GPU - Intel Iris Pro 5200
* NIC - Broadcom BCM43xx 802.11ac - GPU - NVIDIA GeForce GT 750M
- NIC - Broadcom BCM43xx 802.11ac
### Disks ### Disks
Device | Partitions _(filesystem, size, usage)_ Device | Partitions _(filesystem, size, usage)_
--- | --- --- | ---
Apple SSD SM0512F | `/dev/sda1` (EFI, 256 MiB, NixOS Boot) <br> `/dev/sda2` (ZFS, 500 GiB, NixOS Root) Apple SSD SM0512F | `/dev/sda1` (EFI, 256 MiB, NixOS Boot) <br> `/dev/sda2` (ZFS, 500 GiB, NixOS Root)
#### ZFS pool layout #### ZFS pool layout
``` ```
rpool/ rpool/
├── local ├── local
@@ -31,5 +35,6 @@ rpool/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets.
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `hypnos.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `hypnos.mesh.vimium.net`.

View File

@@ -1,21 +1,25 @@
# Library # Library
## Overview ## Overview
Media and public file server. Media and public file server.
## Specs ## Specs
* CPU - AMD Ryzen 5 5600G @ 3.90GHz
* Chipset - AMD B550 - CPU - AMD Ryzen 5 5600G @ 3.90GHz
* Memory - 64 GB DDR4 - Chipset - AMD B550
* Motherboard - ASRock B550M Pro4 - Memory - 64 GB DDR4
* Case - JMCD-12S4 - Motherboard - ASRock B550M Pro4
- Case - JMCD-12S4
### Disks ### Disks
Device | Partitions _(filesystem, size, usage)_ Device | Partitions _(filesystem, size, usage)_
--- | --- --- | ---
Samsung 970 Evo Plus | `/dev/nvme0n1p1` (EFI, 512 MiB, NixOS Boot) <br> `/dev/nvme0n1p2` (ZFS `rpool`, 200 GiB, NixOS Root) Samsung 970 Evo Plus | `/dev/nvme0n1p1` (EFI, 512 MiB, NixOS Boot) <br> `/dev/nvme0n1p2` (ZFS `rpool`, 200 GiB, NixOS Root)
#### ZFS datasets #### ZFS datasets
``` ```
rpool/ rpool/
├── local ├── local
@@ -41,5 +45,6 @@ library/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind the `rpool` datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind the `rpool` datasets.
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `library.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `library.mesh.vimium.net`.

View File

@@ -1,17 +1,21 @@
# Mail server # Mail server
## Overview ## Overview
Mail server hosted in OVH. Mail server hosted in OVH.
## Specs ## Specs
* CPU - ??
* Memory - ?? - CPU - ??
- Memory - ??
### Disks ### Disks
Device | Partitions _(filesystem, usage)_ Device | Partitions _(filesystem, usage)_
--- | --- --- | ---
NVMe | `/dev/sda1` (ext4, NixOS Root) NVMe | `/dev/sda1` (ext4, NixOS Root)
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `mail.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `mail.mesh.vimium.net`.

View File

@@ -1,22 +1,26 @@
# Odyssey # Odyssey
## Overview ## Overview
Primary workstation. Primary workstation.
## Specs ## Specs
* CPU - AMD Ryzen 9 9950X3D @ 4.30GHz
* Chipset - AMD X870E - CPU - AMD Ryzen 9 9950X3D @ 4.30GHz
* Memory - 96 GB DDR5 - Chipset - AMD X870E
* Motherboard - ASUS ProArt X870E-Creator WiFi - Memory - 96 GB DDR5
* GPU - NVIDIA RTX 3090 - Motherboard - ASUS ProArt X870E-Creator WiFi
* Case - Thermaltake A500 - GPU - NVIDIA RTX 3090
- Case - Thermaltake A500
### Disks ### Disks
Device | Partitions _(filesystem, size, usage)_ Device | Partitions _(filesystem, size, usage)_
--- | --- --- | ---
Samsung 980 Pro | `/dev/nvme0n1p1` (EFI, 512 MiB, NixOS Boot) <br> `/dev/nvme0n1p2` (ZFS, 2 TiB, NixOS Root) Samsung 980 Pro | `/dev/nvme0n1p1` (EFI, 512 MiB, NixOS Boot) <br> `/dev/nvme0n1p2` (ZFS, 2 TiB, NixOS Root)
#### ZFS pool layout #### ZFS pool layout
``` ```
rpool/ rpool/
├── local ├── local
@@ -32,5 +36,6 @@ rpool/
See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets. See [Graham Christensen's article](https://grahamc.com/blog/nixos-on-zfs/#datasets) for the motivation behind these datasets.
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `odyssey.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `odyssey.mesh.vimium.net`.

View File

@@ -1,19 +1,23 @@
# Pi # Pi
## Overview ## Overview
Raspberry Pi 4 Raspberry Pi 4
## Specs ## Specs
* SoC - Broadcom BCM2711
* CPU - ARM Cortex-A72 @ 1.8 GHz - SoC - Broadcom BCM2711
* Memory - 8 GB LPDDR4 - CPU - ARM Cortex-A72 @ 1.8 GHz
- Memory - 8 GB LPDDR4
### Disks ### Disks
Device | Partitions _(filesystem, usage)_ Device | Partitions _(filesystem, usage)_
--- | --- --- | ---
SD card | `/dev/mmcblk0` (ext4, NixOS Root) SD card | `/dev/mmcblk0` (ext4, NixOS Root)
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `pi.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `pi.mesh.vimium.net`.

View File

@@ -1,26 +1,32 @@
# Skycam # Skycam
## Overview ## Overview
Raspberry Pi 4-based webcam Raspberry Pi 4-based webcam
## Specs ## Specs
* SoC - Broadcom BCM2711
* CPU - ARM Cortex-A72 @ 1.8 GHz - SoC - Broadcom BCM2711
* Memory - 8 GB LPDDR4 - CPU - ARM Cortex-A72 @ 1.8 GHz
- Memory - 8 GB LPDDR4
### Disks ### Disks
Device | Partitions _(filesystem, usage)_ Device | Partitions _(filesystem, usage)_
--- | --- --- | ---
SD card | `/dev/mmcblk0` (ext4, NixOS Root) SD card | `/dev/mmcblk0` (ext4, NixOS Root)
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `skycam.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `skycam.mesh.vimium.net`.
## Devices and connections ## Devices and connections
- Camera Module 3 with wide-angle lens - Camera Module 3 with wide-angle lens
## Building ## Building
To generate a compressed SD card image for Skycam, run: To generate a compressed SD card image for Skycam, run:
`nix build '.#nixosConfigurations.skycam.config.system.build.sdImage'` `nix build '.#nixosConfigurations.skycam.config.system.build.sdImage'`

View File

@@ -1,17 +1,21 @@
# vps1 # vps1
## Overview ## Overview
VPS hosted in OVH. VPS hosted in OVH.
## Specs ## Specs
* CPU - ??
* Memory - ?? - CPU - ??
- Memory - ??
### Disks ### Disks
Device | Partitions _(filesystem, usage)_ Device | Partitions _(filesystem, usage)_
--- | --- --- | ---
NVMe | `/dev/sda1` (ext4, NixOS Root) NVMe | `/dev/sda1` (ext4, NixOS Root)
### Networks ### Networks
- DHCP on `10.0.1.0/24` subnet. - DHCP on `10.0.1.0/24` subnet.
- Tailscale on `100.64.0.0/10` subnet. FQDN: `vps1.mesh.vimium.net`. - Tailscale on `100.64.0.0/10` subnet. FQDN: `vps1.mesh.vimium.net`.