nixos/hosts/common/optional/fileserver/nfs-client/personal.nix

10 lines
245 B
Nix
Raw Normal View History

{configVars, ...}: let
fileserverIp = configVars.networking.addresses.fileserver.ip;
in {
fileSystems."/media/personal" = {
device = "${fileserverIp}:/srv/export/personal";
fsType = "nfs";
options = ["noatime" "_netdev"];
};
}