aboutsummaryrefslogtreecommitdiffstats
path: root/hosts/arrakis/services.nix
diff options
context:
space:
mode:
authorMark Nipper <nipsy@bitgnome.net>2024-10-16 11:40:45 -0700
committerMark Nipper <nipsy@bitgnome.net>2024-10-16 11:40:45 -0700
commit88902c97050fd66059feab31b5d03e7d81eeed45 (patch)
tree7846cda51ec8e2635b1711968c28c94cad309096 /hosts/arrakis/services.nix
parent60934e02c79ae0bde56cbbbdd68cdd09bf8dfb61 (diff)
downloadnix-88902c97050fd66059feab31b5d03e7d81eeed45.tar
nix-88902c97050fd66059feab31b5d03e7d81eeed45.tar.gz
nix-88902c97050fd66059feab31b5d03e7d81eeed45.tar.bz2
nix-88902c97050fd66059feab31b5d03e7d81eeed45.tar.lz
nix-88902c97050fd66059feab31b5d03e7d81eeed45.tar.xz
nix-88902c97050fd66059feab31b5d03e7d81eeed45.tar.zst
nix-88902c97050fd66059feab31b5d03e7d81eeed45.zip
Add NFS server @arrakis
Diffstat (limited to '')
-rw-r--r--hosts/arrakis/services.nix9
1 files changed, 9 insertions, 0 deletions
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;