mirror of https://gitlab.crans.org/nounous/nixos
on y croit
parent
898b425a1d
commit
2facd0baf4
|
|
@ -6,7 +6,7 @@
|
|||
./networking.nix
|
||||
];
|
||||
|
||||
networking.hostId = "121cdcb4";
|
||||
networking.hostId = "bbdd1133";
|
||||
networking.hostName = "cephiroth";
|
||||
|
||||
boot.loader.grub = {
|
||||
|
|
@ -18,12 +18,20 @@
|
|||
# devices = ["/dev/sdi"];
|
||||
# path = "/boot";
|
||||
# }
|
||||
# {
|
||||
# devices = [ "/dev/sdj" ];
|
||||
# path = "/boot-fallback";
|
||||
# }
|
||||
{
|
||||
devices = [ "/dev/sdj" ];
|
||||
devices = ["nodev"];
|
||||
path = "/boot-fallback";
|
||||
}
|
||||
];
|
||||
devices = ["/dev/sdi" "/dev/sdj"];
|
||||
};
|
||||
|
||||
boot.tmp = {
|
||||
useTmpfs = true;
|
||||
cleanOnBoot = true;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@
|
|||
id = 3;
|
||||
interface = "bond0";
|
||||
};
|
||||
ceph = {
|
||||
id = 6;
|
||||
interface = "bond0";
|
||||
};
|
||||
adm = {
|
||||
id = 10;
|
||||
interface = "bond0";
|
||||
|
|
@ -22,6 +26,9 @@
|
|||
};
|
||||
|
||||
interfaces = {
|
||||
enp11s0f0.mtu = 9000;
|
||||
enp11s0f1.mtu = 9000;
|
||||
|
||||
srv-nat = {
|
||||
ipv4 = {
|
||||
addresses = [
|
||||
|
|
@ -32,6 +39,16 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
ceph = {
|
||||
ipv4 = {
|
||||
addresses = [
|
||||
{
|
||||
address = "172.16.6.3";
|
||||
prefixLength = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
adm = {
|
||||
ipv4 = {
|
||||
addresses = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue