nixos/hosts/common/optional/nfs-mounts/photos.nix
Sam 6d4b95fd2c Update NFS mounts and Docker configuration for photos
- Update `photos.nix` to use `configVars.locations.photosDataMountPoint`
- Add `photosDataMountPoint` to `docker.nix` and configure bind mount
2025-01-13 10:07:09 +00:00

9 lines
246 B
Nix

{configVars, ...}: let
photosDataMountPoint = configVars.locations.photosDataMountPoint;
in {
fileSystems.${photosDataMountPoint} = {
device = "10.0.10.30:/mnt/photos";
fsType = "nfs";
options = ["noatime" "_netdev" "ro"];
};
}