Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nixos/filesystems: Fix fs options type error

(cherry picked from commit 6ff5821be681d6569638f8a7a71022a08a9b3fb5)

authored by Rickard Nilsson and committed by Eelco Dolstra 5feeab1d 556e1b89

+1 -1
+1 -1
nixos/modules/tasks/filesystems.nix
··· 93 93 config = { 94 94 mountPoint = mkDefault name; 95 95 device = mkIf (config.fsType == "tmpfs") (mkDefault config.fsType); 96 - options = mkIf config.autoResize "x-nixos.autoresize"; 96 + options = mkIf config.autoResize [ "x-nixos.autoresize" ]; 97 97 98 98 # -F needed to allow bare block device without partitions 99 99 formatOptions = mkIf ((builtins.substring 0 3 config.fsType) == "ext") (mkDefault "-F");