summaryrefslogtreecommitdiff
path: root/hostnix/elmo
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2024-11-19 14:58:04 -0500
committerJoe Mou <dev@mou.fo>2024-11-19 14:58:13 -0500
commit53a71a3781cd6144eba0d5cfd292a391d1de57ea (patch)
tree78f79a431263c07e57c7115201362b8a6348e735 /hostnix/elmo
parent7507245587f71217525a5e9b1437e8551f96a513 (diff)
Mount /var/log/journal on fast NVME
Despite moving the original log files, reading historic logs does not appear to work.
Diffstat (limited to 'hostnix/elmo')
-rw-r--r--hostnix/elmo/hardware-configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/hostnix/elmo/hardware-configuration.nix b/hostnix/elmo/hardware-configuration.nix
index fa7627d..1747126 100644
--- a/hostnix/elmo/hardware-configuration.nix
+++ b/hostnix/elmo/hardware-configuration.nix
@@ -49,6 +49,12 @@
options = [ "subvol=@var" "compress=zstd" ];
};
+ fileSystems."/var/log/journal" =
+ { device = "/dev/disk/by-uuid/d0564e9f-ae39-46e6-a380-9b614da0ec29";
+ fsType = "btrfs";
+ options = [ "subvol=@var-log-journal" ];
+ };
+
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/C663-3CFA";
fsType = "vfat";