mediaserver: nfs
This commit is contained in:
parent
0dfaae50a4
commit
19f95db24c
1 changed files with 19 additions and 10 deletions
|
@ -12,7 +12,8 @@
|
|||
|
||||
services.rpcbind.enable = true;
|
||||
|
||||
systemd.mounts = [
|
||||
systemd = {
|
||||
mounts = [
|
||||
{
|
||||
type = "nfs";
|
||||
mountConfig = {
|
||||
|
@ -22,4 +23,12 @@
|
|||
where = "/mnt/downloads";
|
||||
}
|
||||
];
|
||||
|
||||
automounts = [
|
||||
{
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
where = "/mnt/downloads";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue