From 429098f6561afc979d6cbe7a5aaca380605181a5 Mon Sep 17 00:00:00 2001 From: Mel Date: Wed, 16 Jul 2025 01:10:16 +0200 Subject: Add fstab entry for Dao (w/ btrfs) and add btrfs GUI util Signed-off-by: Mel --- machines/moissanite/devices.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'machines/moissanite/devices.nix') diff --git a/machines/moissanite/devices.nix b/machines/moissanite/devices.nix index 07aa592..6281206 100644 --- a/machines/moissanite/devices.nix +++ b/machines/moissanite/devices.nix @@ -96,4 +96,20 @@ pulse.enable = true; jack.enable = true; }; + + fileSystems."/mnt/Dao" = { + device = "/dev/disk/by-label/Dao"; + fsType = "btrfs"; + options = [ + "users" # any user can mount and unmount dao + "nofail" # it's okay if dao can't be found + "noatime" # do not update access timestamps (files+folders) + "x-gvfs-show" # show dao in (i.e.) nautilus + + # btrfs options + "compress=zstd" # compress data with zstd, level 3 + ]; + }; + + services.btrfs.autoScrub.enable = true; } -- cgit 1.4.1