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