nixos/hosts/physiques/cephiroth/default.nix

54 lines
872 B
Nix

{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
networking.hostId = "121cdcb4";
networking.hostName = "cephiroth";
boot.loader.grub.enable = true;
boot.loader.grub.efiSupport = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.mirroredBoots = [
{
devices = ["/dev/sdi"];
path = "/boot";
}
{
devices = [ "/dev/sdj" ];
path = "/boot-fallback";
}
];
crans = {
enable = true;
networking = {
id = 3;
adm = {
enable = true;
interface = "bond0";
};
srvNat = {
enable = true;
interface = "bond0";
};
};
resticClient.enable = false;
};
networking = {
bonds.bond0 = {
interfaces = [ "enp11s0f0" "enp11s0f1" ];
driverOptions.mode = "802.3ad";
};
};
system.stateVersion = "24.05";
}