whoops
This commit is contained in:
parent
0fa527717e
commit
004c2b16e8
1 changed files with 1 additions and 1 deletions
|
@ -1,22 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
|
||||
cfg = config.modules.networking.nfs;
|
||||
in
|
||||
{
|
||||
options.modules.networking.nfs = {
|
||||
enable = mkEnableOption "Enable NFS";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
networking.firewall.allowedTCPPorts = [ 2049 ];
|
||||
|
||||
services.nsf.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/var/media manwe(rw,fsid=0,no_subtree_check)
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue