From 5954630d7c420250613647a0f8a581afd06843bd Mon Sep 17 00:00:00 2001 From: RGBCube Date: Sun, 12 May 2024 16:36:07 +0300 Subject: [PATCH] Noatime --- hosts/cube/hardware.nix | 5 +++-- hosts/disk/hardware.nix | 5 +++-- hosts/enka/hardware.nix | 5 +++-- hosts/tard/hardware.nix | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/hosts/cube/hardware.nix b/hosts/cube/hardware.nix index 3e1ada3..fd148e6 100644 --- a/hosts/cube/hardware.nix +++ b/hosts/cube/hardware.nix @@ -18,7 +18,8 @@ systemConfiguration { ]; fileSystems."/" = { - device = "/dev/disk/by-label/root"; - fsType = "ext4"; + device = "/dev/disk/by-label/root"; + fsType = "ext4"; + options = [ "noatime" ]; }; } diff --git a/hosts/disk/hardware.nix b/hosts/disk/hardware.nix index afb6759..48aeeee 100644 --- a/hosts/disk/hardware.nix +++ b/hosts/disk/hardware.nix @@ -12,8 +12,9 @@ systemConfiguration { boot.initrd.availableKernelModules = [ "ahci" "ata_piix" "nvme" "sr_mod" ]; fileSystems."/" = { - device = "/dev/disk/by-label/root"; - fsType = "ext4"; + device = "/dev/disk/by-label/root"; + fsType = "ext4"; + options = [ "noatime" ]; }; fileSystems.${config.boot.loader.efi.efiSysMountPoint} = { diff --git a/hosts/enka/hardware.nix b/hosts/enka/hardware.nix index a40aa8f..a60b893 100644 --- a/hosts/enka/hardware.nix +++ b/hosts/enka/hardware.nix @@ -18,8 +18,9 @@ systemConfiguration { ]; fileSystems."/" = { - device = "/dev/disk/by-label/root"; - fsType = "btrfs"; + device = "/dev/disk/by-label/root"; + fsType = "btrfs"; + options = [ "noatime" ]; }; fileSystems.${config.boot.loader.efi.efiSysMountPoint} = { diff --git a/hosts/tard/hardware.nix b/hosts/tard/hardware.nix index b33def1..5054456 100644 --- a/hosts/tard/hardware.nix +++ b/hosts/tard/hardware.nix @@ -19,7 +19,8 @@ systemConfiguration { boot.initrd.kernelModules = [ "nvme" ]; fileSystems."/" = { - device = "/dev/vda1"; - fsType = "ext4"; + device = "/dev/vda1"; + fsType = "ext4"; + options = [ "noatime" ]; }; }