table: fix mounting devices

This commit is contained in:
lassulus 2023-03-21 06:34:11 +01:00
parent 891836b79a
commit 4db8159a19

View file

@ -38,9 +38,7 @@
partMounts = diskoLib.deepMergeMap (partition: partition._mount { inherit dev; }) config.partitions;
in
{
dev = ''
${lib.concatMapStrings (x: x.dev or "") (lib.attrValues partMounts)}
'';
dev = partMounts.dev or "";
fs = partMounts.fs or { };
};
};