fix: enable 100GbE and disable net mounts for now
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,3 +4,4 @@ result
|
|||||||
result-*
|
result-*
|
||||||
gcroots/
|
gcroots/
|
||||||
ca
|
ca
|
||||||
|
configuration.nix
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
os = {
|
os = {
|
||||||
externalInterface = "enp129s0f0";
|
externalInterface = "enp66s0np0";
|
||||||
nfs.enable = true;
|
nfs.enable = true;
|
||||||
nfs.exports = ''
|
nfs.exports = ''
|
||||||
/exports 172.16.239.0/24(insecure,rw,async,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
/exports 172.16.239.0/24(insecure,rw,async,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
||||||
@@ -99,7 +99,7 @@ in {
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = name;
|
hostName = name;
|
||||||
interfaces.enp129s0f0 = {
|
interfaces.enp66s0np0 = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
ipv4.addresses = [
|
ipv4.addresses = [
|
||||||
{
|
{
|
||||||
@@ -107,14 +107,25 @@ in {
|
|||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
# ipv4.routes = [
|
};
|
||||||
|
# interfaces.ibp1s0 = {
|
||||||
|
# useDHCP = false;
|
||||||
|
# ipv4.addresses = [
|
||||||
# {
|
# {
|
||||||
# address = "172.16.239.0";
|
# address = ipoib;
|
||||||
# prefixLength = 24;
|
# prefixLength = 24;
|
||||||
# via = "172.16.239.1";
|
|
||||||
# }
|
# }
|
||||||
# ];
|
# ];
|
||||||
};
|
# };
|
||||||
|
# interfaces.enp129s0f0 = {
|
||||||
|
# useDHCP = false;
|
||||||
|
# ipv4.addresses = [
|
||||||
|
# {
|
||||||
|
# address = address;
|
||||||
|
# prefixLength = 24;
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
defaultGateway = "172.16.239.1";
|
defaultGateway = "172.16.239.1";
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [];
|
allowedTCPPorts = [];
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ in
|
|||||||
automount.enable = true;
|
automount.enable = true;
|
||||||
users = false;
|
users = false;
|
||||||
opt = false;
|
opt = false;
|
||||||
work = true;
|
work = false;
|
||||||
data = false;
|
data = false;
|
||||||
ceph = false;
|
ceph = false;
|
||||||
};
|
};
|
||||||
@@ -40,7 +40,7 @@ in
|
|||||||
myvnc.enable = false;
|
myvnc.enable = false;
|
||||||
|
|
||||||
os = {
|
os = {
|
||||||
externalInterface = "enp129s0f0";
|
externalInterface = "enp65s0np0";
|
||||||
nfs.enable = true;
|
nfs.enable = true;
|
||||||
nfs.exports = ''
|
nfs.exports = ''
|
||||||
/exports 172.16.239.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
/exports 172.16.239.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
||||||
@@ -108,12 +108,12 @@ in
|
|||||||
# '';
|
# '';
|
||||||
|
|
||||||
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
|
# boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_6;
|
||||||
services.flannel.iface = "enp129s0f0";
|
services.flannel.iface = "enp65s0np0";
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
hostName = name;
|
hostName = name;
|
||||||
interfaces.enp129s0f0 = {
|
interfaces.enp65s0np0 = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
ipv4.addresses = [ {
|
ipv4.addresses = [ {
|
||||||
inherit address;
|
inherit address;
|
||||||
|
|||||||
@@ -50,8 +50,8 @@ in {
|
|||||||
users = true;
|
users = true;
|
||||||
opt = true;
|
opt = true;
|
||||||
work = true;
|
work = true;
|
||||||
data = false;
|
data = true;
|
||||||
ceph = false;
|
ceph = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ in {
|
|||||||
myvnc.enable = false;
|
myvnc.enable = false;
|
||||||
|
|
||||||
os = {
|
os = {
|
||||||
externalInterface = "enp129s0f0";
|
externalInterface = "enp65s0np0";
|
||||||
nfs.enable = false;
|
nfs.enable = false;
|
||||||
nfs.exports = ''
|
nfs.exports = ''
|
||||||
/exports 172.16.239.0/24(insecure,rw,async,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
/exports 172.16.239.0/24(insecure,rw,async,no_subtree_check,crossmnt,fsid=0,no_root_squash)
|
||||||
@@ -140,12 +140,12 @@ in {
|
|||||||
|
|
||||||
services.kubernetes.apiserver.extraOpts = ''--oidc-client-id=9b6daef0-02fa-4574-8949-f7c1b5fccd15 --oidc-groups-claim=roles --oidc-issuer-url=https://login.microsoftonline.com/3f737008-e9a0-4485-9d27-40329d288089/v2.0'';
|
services.kubernetes.apiserver.extraOpts = ''--oidc-client-id=9b6daef0-02fa-4574-8949-f7c1b5fccd15 --oidc-groups-claim=roles --oidc-issuer-url=https://login.microsoftonline.com/3f737008-e9a0-4485-9d27-40329d288089/v2.0'';
|
||||||
|
|
||||||
services.flannel.iface = "enp129s0f0";
|
services.flannel.iface = "enp65s0np0";
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
hostName = name;
|
hostName = name;
|
||||||
interfaces.enp129s0f0 = {
|
interfaces.enp65s0np0 = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
ipv4.addresses = [ {
|
ipv4.addresses = [ {
|
||||||
inherit address;
|
inherit address;
|
||||||
|
|||||||
Reference in New Issue
Block a user