# Extra local disks. Declared here, not in hardware.nix (hardware.nix is generated).
{ config, lib, ... }:
{
  users.users.olivier.uid = lib.mkDefault 1000;
  # LABEL="MediaLibrary" (btrfs on sda1 by UUID). No subvol=@ — this disk has no @ subvolume.
  fileSystems."/mnt/2nd" = {
    device = "/dev/disk/by-uuid/17d8a981-db3b-415e-a0f7-7dbc519e04ab";
    fsType = "btrfs";
    options = [
      "compress=zstd"
      "noatime"
      "nofail"
      "x-systemd.device-timeout=30"
    ];
  };

#new deep storage unit
  fileSystems."/mnt/deep" = {
    device = "/dev/disk/by-uuid/64fb08fe-da5d-4405-afa3-1603a411e9e5";
    fsType = "btrfs";
    options = [
      "compress=zstd"
      "noatime"
      "nofail"
      "x-systemd.device-timeout=30"
    ];
  };

  # LABEL="Deep Storage Unit". Owner olivier, group nfsmedia (990) so:
  # - local logins write as user 1000 (owner rwx);
  # - NFS (all_squash → uid/gid 990) matches group 990 → rwx (see jellyfin-nfs-export).
}
