summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/moissanite/devices.nix16
1 files changed, 16 insertions, 0 deletions
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;
}