build01: switch to hetzner network module
fixup! build01: switch to hetzner network module
This commit is contained in:
parent
94569f1ec3
commit
ddb984bd3e
1 changed files with 5 additions and 14 deletions
|
@ -7,6 +7,7 @@
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
../roles/docker.nix
|
../roles/docker.nix
|
||||||
../roles/gitlab-runner.nix
|
../roles/gitlab-runner.nix
|
||||||
|
../roles/hetzner-network.nix
|
||||||
../roles/nginx.nix
|
../roles/nginx.nix
|
||||||
../roles/nix-community-cache.nix
|
../roles/nix-community-cache.nix
|
||||||
|
|
||||||
|
@ -23,23 +24,13 @@
|
||||||
networking.hostName = "nix-community-build01";
|
networking.hostName = "nix-community-build01";
|
||||||
networking.hostId = "d2905767";
|
networking.hostId = "d2905767";
|
||||||
|
|
||||||
networking.usePredictableInterfaceNames = false;
|
|
||||||
networking.dhcpcd.enable = false;
|
|
||||||
|
|
||||||
# Emulate armv7 until we have proper builders
|
# Emulate armv7 until we have proper builders
|
||||||
boot.binfmt.emulatedSystems = [ "armv7l-linux" ];
|
boot.binfmt.emulatedSystems = [ "armv7l-linux" ];
|
||||||
|
|
||||||
systemd.network = {
|
networking.nix-community = {
|
||||||
enable = true;
|
ipv4.address = "94.130.143.84";
|
||||||
networks."eth0".extraConfig = ''
|
ipv4.gateway = "94.130.143.65";
|
||||||
[Match]
|
ipv6.address = "2a01:4f8:13b:2ceb::1";
|
||||||
Name = eth0
|
|
||||||
[Network]
|
|
||||||
Address = 2a01:4f8:13b:2ceb::1/64
|
|
||||||
Gateway = fe80::1
|
|
||||||
Address = 94.130.143.84/26
|
|
||||||
Gateway = 94.130.143.65
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.healthcheck-ping = {
|
systemd.services.healthcheck-ping = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue