forked from mirrors/nixpkgs
nixos/filesystems: Fix fs options type error
(cherry picked from commit 6ff5821be6
)
This commit is contained in:
parent
556e1b892b
commit
5feeab1d57
|
@ -93,7 +93,7 @@ let
|
|||
config = {
|
||||
mountPoint = mkDefault name;
|
||||
device = mkIf (config.fsType == "tmpfs") (mkDefault config.fsType);
|
||||
options = mkIf config.autoResize "x-nixos.autoresize";
|
||||
options = mkIf config.autoResize [ "x-nixos.autoresize" ];
|
||||
|
||||
# -F needed to allow bare block device without partitions
|
||||
formatOptions = mkIf ((builtins.substring 0 3 config.fsType) == "ext") (mkDefault "-F");
|
||||
|
|
Loading…
Reference in a new issue