add nfs storage h002
This commit is contained in:
parent
7f41e59aaa
commit
93ab323d0e
4 changed files with 276 additions and 72 deletions
13
hosts/h002/nfs-data.nix
Normal file
13
hosts/h002/nfs-data.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/mnt/storage 100.64.0.0/10(rw,sync,no_subtree_check,fsid=0,crossmnt)
|
||||
'';
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.nfs-utils
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue