From 49d1704153b56f9c297d85e7db6dfbdeafa8c925 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 14 Feb 2024 11:20:18 +0100 Subject: [PATCH] optimize filesystem mount flags perf! --- nixosModules/clanCore/vm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixosModules/clanCore/vm.nix b/nixosModules/clanCore/vm.nix index af018dc3a..89a23e9f7 100644 --- a/nixosModules/clanCore/vm.nix +++ b/nixosModules/clanCore/vm.nix @@ -50,12 +50,12 @@ let "/" = { device = "/dev/vda"; fsType = "ext4"; - options = [ "defaults" "x-systemd.makefs" ]; + options = [ "defaults" "x-systemd.makefs" "nobarrier" "noatime" "nodiratime" "data=writeback" "discard" ]; }; "/vmstate" = { device = "/dev/vdb"; - options = [ "x-systemd.makefs" ]; + options = [ "x-systemd.makefs" "noatime" "nodiratime" "discard" ]; noCheck = true; fsType = "ext4"; };