mirror of
https://github.com/nix-community/disko.git
synced 2026-12-06 07:53:28 +01:00
mount filesystems with the correct type flag
This commit is contained in:
1 parent
df3a607ad7
commit
cb5748f03a
1 file changed
+1
@@ -514,6 +514,7 @@ rec {
|
|||||||
fs.${config.mountpoint} = ''
|
fs.${config.mountpoint} = ''
|
||||||
if ! findmnt ${dev} "/mnt${config.mountpoint}" > /dev/null 2>&1; then
|
if ! findmnt ${dev} "/mnt${config.mountpoint}" > /dev/null 2>&1; then
|
||||||
mount ${dev} "/mnt${config.mountpoint}" \
|
mount ${dev} "/mnt${config.mountpoint}" \
|
||||||
|
-t "${config.format}" \
|
||||||
${concatMapStringsSep " " (opt: "-o ${opt}") config.mountOptions} \
|
${concatMapStringsSep " " (opt: "-o ${opt}") config.mountOptions} \
|
||||||
-o X-mount.mkdir
|
-o X-mount.mkdir
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user