{ pkgs, lib, ... }: { imports = [ ./hardware-configuration.nix ./networking.nix ./ceph.nix ]; networking.hostId = "bbdd1133"; networking.hostName = "cephiroth"; boot.loader.grub = { enable = true; efiSupport = true; zfsSupport = true; device = "nodev"; mirroredBoots = [ # { # devices = ["/dev/sdi"]; # path = "/boot"; # } # { # devices = [ "/dev/sdj" ]; # path = "/boot-fallback"; # } { devices = ["nodev"]; path = "/boot-fallback"; } ]; }; boot.tmp = { useTmpfs = true; cleanOnBoot = true; }; boot.supportedFilesystems = [ "zfs" ]; boot.zfs.extraPools = ["head"]; boot.loader.efi.canTouchEfiVariables = true; crans = { enable = true; networking = { id = 3; # On doit utiliser des vlans et du bond, donc # on desactive la config network des vms enable = lib.mkForce false; }; resticClient.enable = false; }; system.stateVersion = "24.05"; }