mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00: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,6 +514,7 @@ rec {
|
|||
fs.${config.mountpoint} = ''
|
||||
if ! findmnt ${dev} "/mnt${config.mountpoint}" > /dev/null 2>&1; then
|
||||
mount ${dev} "/mnt${config.mountpoint}" \
|
||||
-t "${config.format}" \
|
||||
${concatMapStringsSep " " (opt: "-o ${opt}") config.mountOptions} \
|
||||
-o X-mount.mkdir
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue