13 lines
250 B
Nix
13 lines
250 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
# Enable nfs4 only
|
|
services.nfs.server = {
|
|
enable = true;
|
|
exports = ''
|
|
''; # TODO
|
|
};
|
|
|
|
networking.firewall.allowedTCPPorts = [ 111 2049 20048 ];
|
|
networking.firewall.allowedUDPPorts = [ 111 20048];
|
|
}
|