automount nfs share app server
This commit is contained in:
parent
c9be732740
commit
6f6e6f87b8
|
@ -22,7 +22,11 @@
|
||||||
{ device = "/dev/disk/by-uuid/E251-F60A";
|
{ device = "/dev/disk/by-uuid/E251-F60A";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
fileSystems."/home/geir/nfs" =
|
||||||
|
{ device = "files:/mnt/storage";
|
||||||
|
fsType = "nfs";
|
||||||
|
options = [ "x-systemd.automount" "noauto" "x-systemd.idle-timeout=600" ];
|
||||||
|
};
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
services.jellyfin = {
|
services.jellyfin = {
|
||||||
enable = true;
|
enable = true;
|
||||||
group = "users";
|
group = "users";
|
||||||
};
|
};
|
||||||
networking.firewall.allowedTCPPorts = [ 8096 8920 ];
|
networking.firewall.allowedTCPPorts = [ 8096 8920 ];
|
||||||
networking.firewall.allowedUDPPorts = [ 1900 7359 ];
|
networking.firewall.allowedUDPPorts = [ 1900 7359 ];
|
||||||
|
|
Loading…
Reference in a new issue