moved homelab modules
This commit is contained in:
17
modules/homelab/nfs.nix
Normal file
17
modules/homelab/nfs.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let
|
||||
nfsExports = ''
|
||||
/holocron/vault *(rw,sync,no_subtree_check,no_root_squash)
|
||||
/holocron/media *(ro,sync,no_subtree_check)
|
||||
'';
|
||||
in
|
||||
{
|
||||
# enable nfs with all exports
|
||||
services.nfs = {
|
||||
server = {
|
||||
enable = true;
|
||||
exports = nfsExports;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user