build02: switch to hetzner networking module
This commit is contained in:
parent
4fbb4f0437
commit
c5870a9e8c
1 changed files with 6 additions and 11 deletions
|
@ -7,6 +7,7 @@
|
||||||
./nixpkgs-update.nix
|
./nixpkgs-update.nix
|
||||||
|
|
||||||
../roles/common.nix
|
../roles/common.nix
|
||||||
|
../roles/hetzner-network.nix
|
||||||
../roles/nginx.nix
|
../roles/nginx.nix
|
||||||
../roles/nix-community-cache.nix
|
../roles/nix-community-cache.nix
|
||||||
];
|
];
|
||||||
|
@ -19,18 +20,12 @@
|
||||||
networking.hostName = "nix-community-build02";
|
networking.hostName = "nix-community-build02";
|
||||||
networking.hostId = "af9ccc71";
|
networking.hostId = "af9ccc71";
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.defaultGateway = "95.217.109.129";
|
|
||||||
networking.defaultGateway6 = {
|
|
||||||
address = "fe80::1";
|
|
||||||
interface = "enp35s0";
|
|
||||||
};
|
|
||||||
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
||||||
networking.interfaces."enp35s0" = {
|
|
||||||
ipv4.addresses = [{ address = "95.217.109.189"; prefixLength = 26; }];
|
networking.nix-community = {
|
||||||
ipv6.addresses = [
|
ipv4.address = "95.217.109.189";
|
||||||
{ address = "fe80::aaa1:59ff:fe0e:aa61"; prefixLength = 64; }
|
ipv4.gateway = "95.217.109.129";
|
||||||
{ address = "2a01:4f9:4a:2b02::1"; prefixLength = 64; }
|
ipv6.address = "2a01:4f9:4a:2b02::1";
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue