diff --git a/hosts/physiques/cephiroth/default.nix b/hosts/physiques/cephiroth/default.nix index d82fa5b..7ee395e 100644 --- a/hosts/physiques/cephiroth/default.nix +++ b/hosts/physiques/cephiroth/default.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { imports = [ @@ -12,6 +12,7 @@ boot.loader.grub = { enable = true; efiSupport = true; + zfsSupport = true; device = "nodev"; mirroredBoots = [ # { @@ -34,12 +35,19 @@ 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; }; diff --git a/hosts/physiques/cephiroth/hardware-configuration.nix b/hosts/physiques/cephiroth/hardware-configuration.nix index 84c49b8..527881a 100644 --- a/hosts/physiques/cephiroth/hardware-configuration.nix +++ b/hosts/physiques/cephiroth/hardware-configuration.nix @@ -16,6 +16,7 @@ fileSystems."/" = { device = "head/root"; fsType = "zfs"; + options = ["zfsutil"]; }; fileSystems."/boot" =