add nfs storage h002

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-12-28 17:31:14 -06:00
parent 7f41e59aaa
commit 93ab323d0e
4 changed files with 276 additions and 72 deletions

13
hosts/h002/nfs-data.nix Normal file
View 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
];
}