mirror of https://gitlab.crans.org/nounous/nixos
un nouveau test
parent
2facd0baf4
commit
8546751411
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
fileSystems."/" =
|
||||
{ device = "head/root";
|
||||
fsType = "zfs";
|
||||
options = ["zfsutil"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
|
|
|
|||
Loading…
Reference in New Issue