Fix cephiroth/info.nix

cephiroth-v3
Pyjacpp 2026-11-21 15:05:46 +01:00
parent f24e9f0c93
commit df4c48707b
No known key found for this signature in database
GPG Key ID: ED479A5A26930939
2 changed files with 9 additions and 21 deletions

View File

@ -25,7 +25,7 @@
# path = "/boot-fallback";
# }
{
devices = ["nodev"];
devices = [ "nodev" ];
path = "/boot-fallback";
}
];
@ -37,22 +37,8 @@
};
boot.supportedFilesystems = [ "zfs" ];
boot.zfs.extraPools = ["head"];
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";
}

View File

@ -1,14 +1,14 @@
{
{ lib, ... }: {
name = "cephiroth";
description = "Serveur de stockage ceph";
id = 3;
# Sous Nix mais dans une autre branche
isDebian = true;
enable = true;
networking = {
adm.enable = true;
san.enable = true;
# On doit utiliser des vlans et du bond, donc
# on desactive la config network des vms
enable = lib.mkForce false;
switch = {
carapuce = 12;
@ -16,6 +16,8 @@
};
};
resticClient.enable = false;
ilo = {
id = 53;
switch.salameche = 20;