From 595c32044c5f6691e4cf6e30afe3da7952f2589b Mon Sep 17 00:00:00 2001 From: Anish L Date: Wed, 22 Jun 2022 23:14:43 +1000 Subject: [PATCH] add other nfs directory --- profiles/nfs/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/profiles/nfs/default.nix b/profiles/nfs/default.nix index ba9e9970..fa0e7bb0 100644 --- a/profiles/nfs/default.nix +++ b/profiles/nfs/default.nix @@ -12,13 +12,16 @@ statdPort = 4000; extraNfsdConfig = ''''; exports = '' - /home/ftp 192.168.1.0/24(rw) - ''; + /home/ftp 192.168.1.0/24(rw) + /mnt/one 192.168.1.0/24(rw) + /mnt/two 192.168.1.0/24(rw) + /mnt/three 192.168.1.0/24(rw) + ''; }; networking.firewall = { - allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ]; - allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ]; + allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ]; + allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ]; }; #systemd.services.create-mount-dir = {