init
This commit is contained in:
10
modules/core/nfs.nix
Normal file
10
modules/core/nfs.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ host, ... }:
|
||||
let
|
||||
inherit (import ../../hosts/${host}/variables.nix) enableNFS;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
rpcbind.enable = enableNFS;
|
||||
nfs.server.enable = enableNFS;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user