table: fix mounting devices

This commit is contained in:
lassulus committed 2023-03-21 06:34:38 +01:00
1 parent 891836b79a
commit 4db8159a19
1 file changed
+1 -3
+1 -3
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 { };
};
};