From 88902c97050fd66059feab31b5d03e7d81eeed45 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 16 Oct 2024 11:40:45 -0700 Subject: Add NFS server @arrakis --- hosts/arrakis/services.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'hosts/arrakis/services.nix') diff --git a/hosts/arrakis/services.nix b/hosts/arrakis/services.nix index 79f614f..8054fb8 100644 --- a/hosts/arrakis/services.nix +++ b/hosts/arrakis/services.nix @@ -5,6 +5,8 @@ directory = * ''; + networking.firewall.allowedTCPPorts = [ 2049 ]; + security.acme = { acceptTerms = true; certs."arrakis.bitgnome.net".postRun = '' @@ -62,6 +64,13 @@ jellyfin.enable = true; + nfs.server = { + enable = true; + exports = '' + /srv/nfs 192.168.1.0/24(ro,all_squash,insecure,crossmnt,subtree_check,fsid=0) + ''; + }; + nginx = { enable = true; -- cgit v1.2.3