Merge pull request #185 from nix-community/fix-dev-mount

This commit is contained in:
Lassulus 2023-03-21 14:06:04 +07:00 committed by GitHub
commit 25c5376b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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