on y croit

cephiroth-v3
Lzebulon 2026-01-27 12:12:23 +01:00
parent 898b425a1d
commit 2facd0baf4
No known key found for this signature in database
GPG Key ID: D6CDAB8050CBBE7D
2 changed files with 28 additions and 3 deletions

View File

@ -6,7 +6,7 @@
./networking.nix ./networking.nix
]; ];
networking.hostId = "121cdcb4"; networking.hostId = "bbdd1133";
networking.hostName = "cephiroth"; networking.hostName = "cephiroth";
boot.loader.grub = { boot.loader.grub = {
@ -18,12 +18,20 @@
# devices = ["/dev/sdi"]; # devices = ["/dev/sdi"];
# path = "/boot"; # path = "/boot";
# } # }
# {
# devices = [ "/dev/sdj" ];
# path = "/boot-fallback";
# }
{ {
devices = [ "/dev/sdj" ]; devices = ["nodev"];
path = "/boot-fallback"; path = "/boot-fallback";
} }
]; ];
devices = ["/dev/sdi" "/dev/sdj"]; };
boot.tmp = {
useTmpfs = true;
cleanOnBoot = true;
}; };

View File

@ -10,6 +10,10 @@
id = 3; id = 3;
interface = "bond0"; interface = "bond0";
}; };
ceph = {
id = 6;
interface = "bond0";
};
adm = { adm = {
id = 10; id = 10;
interface = "bond0"; interface = "bond0";
@ -22,6 +26,9 @@
}; };
interfaces = { interfaces = {
enp11s0f0.mtu = 9000;
enp11s0f1.mtu = 9000;
srv-nat = { srv-nat = {
ipv4 = { ipv4 = {
addresses = [ addresses = [
@ -32,6 +39,16 @@
]; ];
}; };
}; };
ceph = {
ipv4 = {
addresses = [
{
address = "172.16.6.3";
prefixLength = 24;
}
];
};
};
adm = { adm = {
ipv4 = { ipv4 = {
addresses = [ addresses = [