diff options
| author | Mel <mel@rnrd.eu> | 2025-07-16 01:10:16 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-16 01:10:16 +0200 |
| commit | 429098f6561afc979d6cbe7a5aaca380605181a5 (patch) | |
| tree | 5ae2abbce5171a43e20a9be00f65e207cfe29657 /machines | |
| parent | cdfc101d266a602d657c91f862dd695a8db7337f (diff) | |
| download | minerals-429098f6561afc979d6cbe7a5aaca380605181a5.tar.zst minerals-429098f6561afc979d6cbe7a5aaca380605181a5.zip | |
Add fstab entry for Dao (w/ btrfs) and add btrfs GUI util
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/moissanite/devices.nix | 16 |
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; } |
