mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-05-06 10:02:30 +02:00
sync
This commit is contained in:
parent
38d26110e1
commit
f2bb1de7d8
15 changed files with 505 additions and 87 deletions
12
modules/nfs.nix
Normal file
12
modules/nfs.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
fileSystems."/export/mafuyu" = {
|
||||
device = "/kube-store";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
services.nfs.server.enable = true;
|
||||
services.nfs.server.exports = ''
|
||||
/export 10.0.0.0/42(rw,fsid=0,no_subtree_check)
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue