un nouveau test

cephiroth-v3
Lzebulon 2026-01-28 20:20:45 +01:00
parent 2facd0baf4
commit 8546751411
No known key found for this signature in database
GPG Key ID: D6CDAB8050CBBE7D
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, ... }: { pkgs, lib, ... }:
{ {
imports = [ imports = [
@ -12,6 +12,7 @@
boot.loader.grub = { boot.loader.grub = {
enable = true; enable = true;
efiSupport = true; efiSupport = true;
zfsSupport = true;
device = "nodev"; device = "nodev";
mirroredBoots = [ mirroredBoots = [
# { # {
@ -34,12 +35,19 @@
cleanOnBoot = true; cleanOnBoot = true;
}; };
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.extraPools = ["head"];
boot.loader.efi.canTouchEfiVariables = true;
crans = { crans = {
enable = true; enable = true;
networking = { networking = {
id = 3; 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; resticClient.enable = false;
}; };

View File

@ -16,6 +16,7 @@
fileSystems."/" = fileSystems."/" =
{ device = "head/root"; { device = "head/root";
fsType = "zfs"; fsType = "zfs";
options = ["zfsutil"];
}; };
fileSystems."/boot" = fileSystems."/boot" =