mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
wtf
This commit is contained in:
parent
a2b18d72d5
commit
acf93cc9d5
3 changed files with 57 additions and 0 deletions
18
nix/contabo
Normal file
18
nix/contabo
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
[Match]
|
||||||
|
MACAddress=00:50:56:49:f0:60
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
LinkLocalAddressing=ipv6
|
||||||
|
Address=184.174.32.252/21
|
||||||
|
Address=2a02:c206:2119:3519:0000:0000:0000:0001/64
|
||||||
|
Gateway=fe80::1
|
||||||
|
DNS=213.136.95.11
|
||||||
|
DNS=213.136.95.10
|
||||||
|
DNS=2a02:c207::2:53
|
||||||
|
DNS=2a02:c207::1:53
|
||||||
|
Domains=invalid
|
||||||
|
|
||||||
|
[Route]
|
||||||
|
Destination=0.0.0.0/0
|
||||||
|
Gateway=184.174.32.1
|
||||||
|
GatewayOnlink=true
|
||||||
20
nix/hive.nix
20
nix/hive.nix
|
|
@ -202,6 +202,26 @@
|
||||||
./modules/garage
|
./modules/garage
|
||||||
];
|
];
|
||||||
|
|
||||||
|
networking.useDHCP = false;
|
||||||
|
systemd.network.enable = true;
|
||||||
|
systemd.network.networks."10-ens18" = {
|
||||||
|
matchConfig.MacAddress = "00:50:56:49:f0:60";
|
||||||
|
networkConfig = {
|
||||||
|
LinkLocalAddressing = "ipv6";
|
||||||
|
Address = [ "184.174.32.252/21" "2a02:c206:2119:3519:0000:0000:0000:0001/64" ];
|
||||||
|
Gateway = "fe80::1";
|
||||||
|
DNS = [ "213.136.95.11" "213.136.95.10" "2a02:c207::2:53" "2a02:c207::1:53" "invalid" ];
|
||||||
|
Domains = "invalid";
|
||||||
|
};
|
||||||
|
routes = [
|
||||||
|
{
|
||||||
|
Destination = "0.0.0.0/0";
|
||||||
|
Gateway = "184.174.32.1";
|
||||||
|
GatewayOnLink = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
};
|
};
|
||||||
# VPS3 is the primary monitoring/metrics server.
|
# VPS3 is the primary monitoring/metrics server.
|
||||||
|
|
|
||||||
19
nix/nixos
Normal file
19
nix/nixos
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
[Match]
|
||||||
|
MacAddress=00:50:56:49:f0:60
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
Address=184.174.32.252/21
|
||||||
|
Address=2a02:c206:2119:3519:0000:0000:0000:0001/64
|
||||||
|
DNS=213.136.95.11
|
||||||
|
DNS=213.136.95.10
|
||||||
|
DNS=2a02:c207::2:53
|
||||||
|
DNS=2a02:c207::1:53
|
||||||
|
DNS=invalid
|
||||||
|
Gateway=fe80::1
|
||||||
|
LinkLocalAddressing=ipv6
|
||||||
|
|
||||||
|
[Route]
|
||||||
|
Destination=0.0.0.0/0
|
||||||
|
Gateway=184.174.32.1
|
||||||
|
GatewayOnLink=true
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue