nixos/hosts/common/optional/nfs-mounts/photos.nix

10 lines
246 B
Nix
Raw Permalink Normal View History

{configVars, ...}: let
photosDataMountPoint = configVars.locations.photosDataMountPoint;
in {
fileSystems.${photosDataMountPoint} = {
2024-08-26 21:04:19 +01:00
device = "10.0.10.30:/mnt/photos";
2024-08-20 13:14:24 +01:00
fsType = "nfs";
options = ["noatime" "_netdev" "ro"];
2024-08-20 13:14:24 +01:00
};
}