aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/saarni
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2026-01-15 11:32:24 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2026-01-15 11:32:24 +0200
commit51ee882d28bf33b87ece9411d9eeb0de6bb334b7 (patch)
treeecc95fe94747882e02b67c92897705e6465d3a67 /hosts/saarni
parentb388bbc200cc4fc9adb0aa2280fe5629b0f8cc4a (diff)
downloadnixos-51ee882d28bf33b87ece9411d9eeb0de6bb334b7.tar.zst
Add correct mount options for drives
Diffstat (limited to 'hosts/saarni')
-rw-r--r--hosts/saarni/hardware-configuration.nix33
1 files changed, 21 insertions, 12 deletions
diff --git a/hosts/saarni/hardware-configuration.nix b/hosts/saarni/hardware-configuration.nix
index 27dd94a..8381267 100644
--- a/hosts/saarni/hardware-configuration.nix
+++ b/hosts/saarni/hardware-configuration.nix
@@ -46,18 +46,27 @@
'';
};
- fileSystems."/" = {
- device = "/dev/disk/by-uuid/3968a07a-5e37-4bdb-9e3a-6c74950fd03d";
- fsType = "ext4";
- };
-
- fileSystems."/boot" = {
- device = "/dev/disk/by-uuid/9B7E-3D1B";
- fsType = "vfat";
- options = [
- "fmask=0022"
- "dmask=0022"
- ];
+ fileSystems = {
+ "/boot" = {
+ device = "/dev/disk/by-uuid/9B7E-3D1B";
+ fsType = "vfat";
+ options = [
+ "fmask=0022"
+ "dmask=0022"
+ ];
+ };
+ "/" = {
+ device = "/dev/disk/by-uuid/3968a07a-5e37-4bdb-9e3a-6c74950fd03d";
+ fsType = "ext4";
+ options = [
+ "defaults"
+ "lazytime"
+ "nodiratime"
+ "barrier=1"
+ "errors=remount-ro"
+ "commit=30"
+ ];
+ };
};
hardware.firmware = [ pkgs.sof-firmware ];