feat: ptp link to synology and mount nfs volume
This commit is contained in:
parent
b226969b39
commit
b5a483f88d
2 changed files with 23 additions and 7 deletions
|
@ -18,6 +18,16 @@
|
|||
networking.hostName = "homeserver";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
fileSystems."/mnt/data" = {
|
||||
device = "172.16.0.1:/volume1/data";
|
||||
fsType = "nfs";
|
||||
options = [
|
||||
"noauto"
|
||||
"x-systemd.automount"
|
||||
"x-systemd.idle-timeout=600"
|
||||
];
|
||||
};
|
||||
|
||||
users.groups.media = { };
|
||||
users.users.media = {
|
||||
group = "media";
|
||||
|
@ -42,6 +52,10 @@
|
|||
addresses = true;
|
||||
workstation = true;
|
||||
};
|
||||
allowInterfaces = [
|
||||
"end0"
|
||||
"enp2s0u2"
|
||||
];
|
||||
};
|
||||
|
||||
services.calibre-server = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue