fix: unify ekman c0 and c0x

This commit is contained in:
Jonas Juselius
2025-09-27 15:57:11 +02:00
parent e6cf1f6232
commit 680330d569
11 changed files with 6 additions and 155 deletions

View File

@@ -11,7 +11,6 @@ let
compute = {
deployment.tags = [ "compute" "c0" ];
};
mkCompute = host:
@@ -39,8 +38,8 @@ let
name = host.name;
address = host.address;
};
os.externalInterface = "enp33s0f0np0";
hpc.compute = true;
os.externalInterface = host.iface;
hpc.computeNode = true;
hpc.knem = true;
# k8s = { inherit etcdCluster; };
};
@@ -54,7 +53,7 @@ let
networking = {
hostName = host.name;
useDHCP = false;
interfaces.enp33s0f0np0 = {
interfaces."${host.iface}" = {
useDHCP = false;
ipv4.addresses = [ {
address = host.address;