-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhomelab.toml
103 lines (79 loc) · 2.78 KB
/
homelab.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
## Some SSH public keys to add to the hosts
ssh_keys = [
# Cadmium NixOS
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOKmSxFyT9n91A9dOpSCfl9kJj80KWFA6UvCtguT4S5b giodamelio@cadmium",
# Chromebook Developer Container
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAHlH3cxSO186g1bcZ3I3xSX3Fi2E094XnzvTFnW5/G1 giodamelio@cesium"
]
## All the machines
[machines.gio-pixel-7]
hardwareDescription = "Pixel 7 Pro"
useDescription = "My Phone"
[machines.cadmium]
hardwareDescription = "Desktop machine under my desk"
useDescription = "Main development machine"
[machines.cadmium.deployment]
allowLocalDeployment = true
[machines.calcium]
hardwareDescription = "WSL2 VM running on cadmium windows install"
useDescription = "Light development work while booted into windows"
[machines.calcium.deployment]
targetHost = "172.21.201.219" # Not sure how stable this is
targetUser = "giodamelio"
allowLocalDeployment = true
[machines.carbon]
hardwareDescription = "HP EliteDesk Mini Computer in the closet"
useDescription = "Hosting damelio.net and other web services on local network"
[machines.carbon.deployment]
targetHost = "10.0.128.210"
targetUser = "server"
[machines.cesium]
hardwareDescription = "Lenovo Chromebook Linux Developer Container"
useDescription = "Light development work on the go"
[machines.gallium]
hardwareDescription = "QNAP NAS TS-462-2G"
useDescription = "Main NAS in the closet"
[machines.gallium.deployment]
targetHost = "10.0.128.214"
targetUser = "server"
[machines.manganese]
hardwareDescription = ""
useDescription = "Handling all our monitoring as reliably as possible"
[machines.manganese.deployment]
targetHost = "10.0.246.179"
targetUser = "server"
[machines.zirconium]
hardwareDescription = "VM Running in Hetzner Cloud"
useDescription = "Critical services running on a DigitalOcean VM"
[machines.zirconium.deployment]
targetHost = "zirconium.pub.gio.ninja"
targetUser = "server"
## Networks
[networks.homelab-defguard]
description = "Wireguard network for roaming devices managed by DefGuard"
cidr = "10.111.0.0/16"
[networks.homelab-defguard.members]
zirconium = "10.111.0.1"
gios-pixel-7 = "10.111.0.2"
cadmium = "10.111.0.4"
[networks.homelab-mesh]
description = "Wireguard network for fixed servers managed by NixOS configs"
cidr = "10.112.0.0/16"
# A records are created for these
[networks.homelab-mesh.members]
zirconium = "10.112.0.1"
carbon = "10.112.0.2"
gallium = "10.112.0.3"
# CNAMES are created for these
[networks.homelab-mesh.aliases]
defguard = "zirconium.gio.ninja"
"enroll.defguard" = "zirconium.pub.gio.ninja"
status = "zirconium.gio.ninja"
grafana = "zirconium.gio.ninja"
prometheus = "zirconium.gio.ninja"
ca = "zirconium.gio.ninja"
miniflux = "carbon.gio.ninja"
home = "carbon.gio.ninja"
paperless = "carbon.gio.ninja"
garage = "gallium.gio.ninja"
garage-admin = "gallium.gio.ninja"