summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems.nix
diff options
context:
space:
mode:
authorRickard Nilsson <rickynils@gmail.com>2016-03-14 17:24:36 +0100
committerRickard Nilsson <rickynils@gmail.com>2016-03-14 17:24:36 +0100
commit6ff5821be681d6569638f8a7a71022a08a9b3fb5 (patch)
treee4697a9ccd6e94dc30b1aee061a93d9cb8e24d12 /nixos/modules/tasks/filesystems.nix
parentc5b145f48fa8c94f413af3db711f97ef527a8805 (diff)
downloadnixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.tar
nixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.tar.gz
nixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.tar.bz2
nixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.tar.lz
nixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.tar.xz
nixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.tar.zst
nixpkgs-6ff5821be681d6569638f8a7a71022a08a9b3fb5.zip
nixos/filesystems: Fix fs options type error
Diffstat (limited to 'nixos/modules/tasks/filesystems.nix')
-rw-r--r--nixos/modules/tasks/filesystems.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix
index 4d1466db22d..dd351306cb6 100644
--- a/nixos/modules/tasks/filesystems.nix
+++ b/nixos/modules/tasks/filesystems.nix
@@ -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");