disko: fix eval yet another time
This commit is contained in:
parent
99e9264a1c
commit
9f59613e93
|
@ -51,7 +51,7 @@ in
|
|||
};
|
||||
|
||||
config = {
|
||||
assertions = lib.head (map
|
||||
assertions = lib.mkIf (cfg.disks != [ ]) (lib.head (map
|
||||
(disk: [
|
||||
{
|
||||
assertion = disk.withCeph || disk.withZfs;
|
||||
|
@ -62,7 +62,7 @@ in
|
|||
message = "Ceph requires Luks!";
|
||||
}
|
||||
])
|
||||
cfg.disks);
|
||||
cfg.disks));
|
||||
|
||||
disko = {
|
||||
devices = lib.mkIf (cfg.disks != [ ]) (lib.head (map
|
||||
|
|
Loading…
Reference in New Issue