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