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

View File

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