mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 16:10:03 +01:00
mount filesystems with the correct type flag
This commit is contained in:
parent
df3a607ad7
commit
cb5748f03a
1 changed files with 3 additions and 2 deletions
|
|
@ -514,8 +514,9 @@ 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}" \
|
||||||
${concatMapStringsSep " " (opt: "-o ${opt}") config.mountOptions} \
|
-t "${config.format}" \
|
||||||
-o X-mount.mkdir
|
${concatMapStringsSep " " (opt: "-o ${opt}") config.mountOptions} \
|
||||||
|
-o X-mount.mkdir
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue