From 854675141140f44b5125608a972211e009cebb6a Mon Sep 17 00:00:00 2001 From: Lzebulon Date: Wed, 28 Jan 2026 20:20:45 +0100 Subject: [PATCH] un nouveau test --- hosts/physiques/cephiroth/default.nix | 10 +++++++++- hosts/physiques/cephiroth/hardware-configuration.nix | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) 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" =