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
f2bb1de7d8
commit
a9551f7ba0
6 changed files with 39 additions and 4 deletions
|
|
@ -1,12 +1,14 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
fileSystems."/export/mafuyu" = {
|
||||
environment.systemPackages = with pkgs; [ kubernetes-helm ];
|
||||
|
||||
fileSystems."/export" = {
|
||||
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)
|
||||
/export 10.0.0.0/24(rw,fsid=0,no_subtree_check,crossmnt,no_root_squash)
|
||||
'';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue