summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-25 01:17:00 -0700
committerFuwn <[email protected]>2024-10-25 01:17:00 -0700
commit66cb6c4121d6b9a45675d4cdb74e0d2550dc4e1f (patch)
treeba24d0d93e83bbd604426ed962974b8b94087a34 /hosts
parenthosts: move kioku samba share to shared modules (diff)
downloadnixos-config-66cb6c4121d6b9a45675d4cdb74e0d2550dc4e1f.tar.xz
nixos-config-66cb6c4121d6b9a45675d4cdb74e0d2550dc4e1f.zip
kansai: move noatime to common options
Diffstat (limited to 'hosts')
-rw-r--r--hosts/kansai/hardware-configuration.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/hosts/kansai/hardware-configuration.nix b/hosts/kansai/hardware-configuration.nix
index ad53f56..9128f0a 100644
--- a/hosts/kansai/hardware-configuration.nix
+++ b/hosts/kansai/hardware-configuration.nix
@@ -8,13 +8,16 @@
let
nixosDevice = "/dev/disk/by-uuid/59148bdd-ecb1-49a0-beec-89d0adf909ae";
+ commonOptions = [
+ "noatime"
+ ];
+
commonBtrfsOptions = [
"compress-force=zstd:1"
- "noatime"
"discard=async"
"space_cache=v2"
"ssd"
- ];
+ ] ++ commonOptions;
in
{
imports = [
@@ -82,12 +85,11 @@ in
options = [
"rw"
"nofail"
- "noatime"
"uid=1000"
"gid=1000"
"dmask=027"
"fmask=137"
- ];
+ ] ++ commonOptions;
};
};