mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 07:29:23 +08:00
devices.srv1.node0: enable nfs server
This commit is contained in:
@@ -34,5 +34,11 @@ inputs:
|
||||
};
|
||||
};
|
||||
};
|
||||
services.nfs.server =
|
||||
{
|
||||
enable = true;
|
||||
exports = "/home 192.168.178.0/24(rw)";
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 2049 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user