disko: document constant
This commit is contained in:
parent
7e3a98d68f
commit
465abc2b03
|
@ -70,7 +70,7 @@ in
|
|||
let
|
||||
diskName = if disk.name != "" then "-${disk.name}" else "";
|
||||
luksName = "crypt-${config.networking.hostName}${diskName}";
|
||||
rootSize = 200;
|
||||
rootSize = 200; # size of the zfs partition if inside of lvm
|
||||
vgName = "lvm-${config.networking.hostName}${diskName}";
|
||||
zfs = {
|
||||
size = if (!disk.withCeph) then "100%FREE" else "${toString rootSize}GiB";
|
||||
|
@ -81,7 +81,7 @@ in
|
|||
};
|
||||
zfsName = "${config.networking.hostName}${diskName}";
|
||||
in
|
||||
({
|
||||
{
|
||||
disk.${disk.device} = {
|
||||
inherit (disk) device;
|
||||
type = "disk";
|
||||
|
@ -203,7 +203,7 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
}))
|
||||
})
|
||||
cfg.disks));
|
||||
# we use our own hardware-configuration.nix
|
||||
enableConfig = false;
|
||||
|
|
Loading…
Reference in New Issue