summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 19:58:41 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-24 19:58:41 +0200
commitf40c7ed1435d9507868337ae7509fe6d0392498b (patch)
tree92311bc9df20370f25dff16074352a3532268455 /nixos/modules
parent1f5f472a8a21f9bceed7f50c581007cb9c7ec3d6 (diff)
downloadnixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.tar
nixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.tar.gz
nixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.tar.bz2
nixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.tar.lz
nixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.tar.xz
nixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.tar.zst
nixlib-f40c7ed1435d9507868337ae7509fe6d0392498b.zip
Remove relatime mount option
This has been the kernel default for a long time.
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/tasks/filesystems.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix
index 4409bd4cc8c3..ab64106f3533 100644
--- a/nixos/modules/tasks/filesystems.nix
+++ b/nixos/modules/tasks/filesystems.nix
@@ -41,7 +41,7 @@ let
       };
 
       options = mkOption {
-        default = "defaults,relatime";
+        default = "defaults";
         example = "data=journal";
         type = types.commas;
         description = "Options used to mount the file system.";
@@ -69,8 +69,6 @@ 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");
     };
 
   };