From 5e613a03fc61152eab4e26919be94516eb0b32e6 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 23 Jun 2026 01:11:21 +0900 Subject: [PATCH] treewide: set `relatime` for most root mounts --- hosts/bekkalokk/hardware-configuration.nix | 1 + hosts/brzeczyszczykiewicz/hardware-configuration.nix | 1 + hosts/georg/hardware-configuration.nix | 1 + hosts/gluttony/hardware-configuration.nix | 1 + hosts/kommode/disks.nix | 1 + hosts/shark/hardware-configuration.nix | 1 + hosts/skrot/disk-config.nix | 1 + hosts/temmie/hardware-configuration.nix | 1 + hosts/wenche/hardware-configuration.nix | 1 + 9 files changed, 9 insertions(+) diff --git a/hosts/bekkalokk/hardware-configuration.nix b/hosts/bekkalokk/hardware-configuration.nix index 9d84289..42fa37b 100644 --- a/hosts/bekkalokk/hardware-configuration.nix +++ b/hosts/bekkalokk/hardware-configuration.nix @@ -16,6 +16,7 @@ fileSystems."/" = { device = "/dev/sda1"; fsType = "btrfs"; + options = [ "relatime" ]; }; fileSystems."/boot" = diff --git a/hosts/brzeczyszczykiewicz/hardware-configuration.nix b/hosts/brzeczyszczykiewicz/hardware-configuration.nix index c9099c0..a5a652e 100644 --- a/hosts/brzeczyszczykiewicz/hardware-configuration.nix +++ b/hosts/brzeczyszczykiewicz/hardware-configuration.nix @@ -16,6 +16,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/4e8667f8-55de-4103-8369-b94665f42204"; fsType = "ext4"; + options = [ "relatime" ]; }; fileSystems."/boot" = diff --git a/hosts/georg/hardware-configuration.nix b/hosts/georg/hardware-configuration.nix index 539ae37..eca5a64 100644 --- a/hosts/georg/hardware-configuration.nix +++ b/hosts/georg/hardware-configuration.nix @@ -16,6 +16,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/33825f0d-5a63-40fc-83db-bfa1ebb72ba0"; fsType = "ext4"; + options = [ "relatime" ]; }; fileSystems."/boot" = diff --git a/hosts/gluttony/hardware-configuration.nix b/hosts/gluttony/hardware-configuration.nix index 01bcd14..7734772 100644 --- a/hosts/gluttony/hardware-configuration.nix +++ b/hosts/gluttony/hardware-configuration.nix @@ -28,6 +28,7 @@ fileSystems."/" = { device = "/dev/mapper/pool-root"; fsType = "ext4"; + options = [ "relatime" ]; }; fileSystems."/boot" = { diff --git a/hosts/kommode/disks.nix b/hosts/kommode/disks.nix index 55fb500..8f56216 100644 --- a/hosts/kommode/disks.nix +++ b/hosts/kommode/disks.nix @@ -48,6 +48,7 @@ # swap.swapfile.size = "4G"; mountpoint = "/"; + mountOptions = [ "relatime" ]; }; }; diff --git a/hosts/shark/hardware-configuration.nix b/hosts/shark/hardware-configuration.nix index 2536bab..c80c0f6 100644 --- a/hosts/shark/hardware-configuration.nix +++ b/hosts/shark/hardware-configuration.nix @@ -16,6 +16,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/224c45db-9fdc-45d4-b3ad-aaf20b3efa8a"; fsType = "ext4"; + options = [ "relatime" ]; }; fileSystems."/boot" = diff --git a/hosts/skrot/disk-config.nix b/hosts/skrot/disk-config.nix index 723f158..c8fe18f 100644 --- a/hosts/skrot/disk-config.nix +++ b/hosts/skrot/disk-config.nix @@ -31,6 +31,7 @@ type = "filesystem"; format = "ext4"; mountpoint = "/"; + mountOptions = [ "relatime" ]; }; }; }; diff --git a/hosts/temmie/hardware-configuration.nix b/hosts/temmie/hardware-configuration.nix index a7a165e..8fb3363 100644 --- a/hosts/temmie/hardware-configuration.nix +++ b/hosts/temmie/hardware-configuration.nix @@ -16,6 +16,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/c3aed415-0054-4ac5-8d29-75a99cc26451"; fsType = "btrfs"; + options = [ "relatime" ]; }; fileSystems."/boot" = diff --git a/hosts/wenche/hardware-configuration.nix b/hosts/wenche/hardware-configuration.nix index 51d8a1b..804cece 100644 --- a/hosts/wenche/hardware-configuration.nix +++ b/hosts/wenche/hardware-configuration.nix @@ -13,6 +13,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/4e8ecdd2-d453-4fff-b952-f06da00f3b85"; fsType = "ext4"; + options = [ "relatime" ]; }; swapDevices = [ {