mirror of https://gitlab.crans.org/nounous/nixos
on y croit
parent
898b425a1d
commit
2facd0baf4
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 = [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue