This commit is contained in:
Grigory Shipunov 2022-06-08 18:47:49 +02:00
parent 3a40a3af28
commit 3924624e75
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
5 changed files with 38 additions and 24 deletions

View file

@ -1,23 +1,26 @@
{ pkgs, lib, ... }:
{
environment.systemPackages = with pkgs; [ nfs-utils ];
services.rpcbind.enable = true;
systemd.mounts = {
systemd.mounts = [{
type = "nfs";
mountConfig = {
Options = "noatime";
};
what = "10.13.37.5:/";
where = "/mnt/dvb";
};
}];
systemd.automounts = {
systemd.automounts = [{
wantedBy = [ "multi-user.target" ];
requires = [ "wg-quick-wg-dvb.service" ];
automountConfig= {
TimeoutIdleSec = "600";
};
where = "/mnt/dvb";
};
}];
}