feat: refactor the modules/servers directory.
This commit is contained in:
parent
4e783c052b
commit
8b754d3a7e
69 changed files with 61 additions and 62 deletions
9
modules/servers/per-server/tyr/services/nfs-server.nix
Normal file
9
modules/servers/per-server/tyr/services/nfs-server.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/export/nfs 192.168.0.0/24(rw,sync,no_subtree_check) 172.16.0.0/24(rw,sync,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [2049];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue