parent
4f20008ec9
commit
883222a750
|
@ -76,8 +76,6 @@ rec {
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMFbxHGfBMBjjior1FNRub56O62K++HVnqUH67BeKD7d";
|
||||
};
|
||||
matemat = {
|
||||
ip4 = "172.22.99.133";
|
||||
ip6 = "2a00:8180:2c00:223:f82b:1bff:fedc:8572";
|
||||
publicKey =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBa07c4NnU1TGX1SMNea9e1d4nMtc0OS4gJLmTA3g/fe";
|
||||
};
|
||||
|
|
|
@ -1,14 +1,19 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{ hostRegistry, lib, pkgs, ... }:
|
||||
{
|
||||
c3d2 = {
|
||||
isInHq = true;
|
||||
hq.interface = "eth0";
|
||||
};
|
||||
networking = {
|
||||
hostName = "matemat";
|
||||
interfaces.eth0.useDHCP = lib.mkForce true;
|
||||
firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.hostName = "matemat";
|
||||
networking.useNetworkd = true;
|
||||
networking.interfaces.eth0 = {
|
||||
ipv4.addresses = [{
|
||||
address = hostRegistry.hosts.matemat.ip4;
|
||||
prefixLength = 26;
|
||||
}];
|
||||
};
|
||||
networking.defaultGateway = "172.20.73.1";
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
services.yammat.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue