diff --git a/hosts/physiques/cephiroth/default.nix b/hosts/physiques/cephiroth/default.nix index 196ed0a..d82fa5b 100644 --- a/hosts/physiques/cephiroth/default.nix +++ b/hosts/physiques/cephiroth/default.nix @@ -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; }; diff --git a/hosts/physiques/cephiroth/networking.nix b/hosts/physiques/cephiroth/networking.nix index c1b540b..d43206f 100644 --- a/hosts/physiques/cephiroth/networking.nix +++ b/hosts/physiques/cephiroth/networking.nix @@ -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 = [