3
0
Fork 0
forked from mirrors/nixpkgs

nixos/filesystems: Fix fs options type error

(cherry picked from commit 6ff5821be6)
This commit is contained in:
Rickard Nilsson 2016-03-14 17:24:36 +01:00 committed by Eelco Dolstra
parent 556e1b892b
commit 5feeab1d57

View file

@ -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");