diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix index ce9e3555b6cd..cf6abf52cf65 100644 --- a/nixos/modules/tasks/filesystems.nix +++ b/nixos/modules/tasks/filesystems.nix @@ -69,6 +69,8 @@ let config = { mountPoint = mkDefault name; device = mkIf (config.fsType == "tmpfs") (mkDefault config.fsType); + # The vboxsf filesystem doesn't support the relatime option: + options = mkIf (config.fsType == "vboxsf") (mkDefault "defaults"); }; };