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