flake update
This commit is contained in:
parent
b8608870c9
commit
3a40a3af28
2 changed files with 24 additions and 1 deletions
23
modules/dvb-dump-nfs-automount.nix
Normal file
23
modules/dvb-dump-nfs-automount.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
services.rpcbind.enable = true;
|
||||
|
||||
systemd.mounts = {
|
||||
type = "nfs";
|
||||
mountConfig = {
|
||||
Options = "noatime";
|
||||
};
|
||||
what = "10.13.37.5:/";
|
||||
where = "/mnt/dvb";
|
||||
};
|
||||
|
||||
systemd.automounts = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
automountConfig= {
|
||||
TimeoutIdleSec = "600";
|
||||
};
|
||||
where = "/mnt/dvb";
|
||||
};
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue