disko: fix eval yet again

This commit is contained in:
Sandro - 2023-05-19 03:29:02 +02:00
parent adca4a2674
commit 99e9264a1c
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ in
};
config = {
assertions = map
assertions = 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