mirror of https://gitlab.crans.org/nounous/nixos
Fix cephiroth/info.nix
parent
f24e9f0c93
commit
df4c48707b
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue