refactor: use mkHetznerMachine for db-01

Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
Lander Van den Bulcke 2025-09-19 17:49:16 +02:00
parent 3aa3570617
commit 89857b9978
Signed by: lander
GPG key ID: 0142722B4B0C536F
6 changed files with 39 additions and 103 deletions

View file

@ -126,12 +126,8 @@
};
# servers
db-01 = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = { inherit inputs outputs; };
modules = [
./hosts/db-01
];
db-01 = hetzner.mkHetznerMachine "db-01" {
ipv6Address = "2a01:4f8:c012:15d4::/64";
};
hosting-01 = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";