diff options
| author | Mel <mel@rnrd.eu> | 2025-07-30 17:13:47 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-30 17:14:50 +0200 |
| commit | 8402088a2722594c7bacc076e95f8d258eb020ef (patch) | |
| tree | 42a93fed945582a1e88345a552fe2b647c7b93ef /machines | |
| parent | 29c6dcde1c9b7f60ff03532e8199f0dccdd69acd (diff) | |
| download | minerals-8402088a2722594c7bacc076e95f8d258eb020ef.tar.zst minerals-8402088a2722594c7bacc076e95f8d258eb020ef.zip | |
Add new Lao disk with consultancy work files
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines')
| -rw-r--r-- | machines/moissanite/devices.nix | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/machines/moissanite/devices.nix b/machines/moissanite/devices.nix index 273091f..aa70aa0 100644 --- a/machines/moissanite/devices.nix +++ b/machines/moissanite/devices.nix @@ -97,20 +97,36 @@ jack.enable = true; }; - fileSystems."/mnt/Dao" = { - device = "/dev/disk/by-label/Dao"; - fsType = "btrfs"; - options = [ - "users" # any user can mount and unmount dao, implies 'noexec', 'nodev', 'nosuid' - "exec" # override 'users' 'noexec' default, executable files are nice! - "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 - ]; - }; + fileSystems = + let + options = [ + "users" # any user can mount and unmount dao, implies 'noexec', 'nodev', 'nosuid' + "exec" # override 'users' 'noexec' default, executable files are nice! + "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 + ]; + in + { + # disk with all my personal projects & life in general + "/mnt/Dao" = { + device = "/dev/disk/by-label/Dao"; + fsType = "btrfs"; + + inherit options; + }; + + # disk with consultancy work-related things + "/mnt/Lao" = { + device = "/dev/disk/by-label/Lao"; + fsType = "btrfs"; + + inherit options; + }; + }; services.btrfs.autoScrub.enable = true; } |
