mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-05-06 10:02:30 +02:00
15 lines
354 B
Nix
15 lines
354 B
Nix
{ pkgs, ... }:
|
|
{
|
|
environment.systemPackages = with pkgs; [ kubernetes-helm ];
|
|
|
|
fileSystems."/export" = {
|
|
device = "/kube-store";
|
|
options = [ "bind" ];
|
|
fsType = "none";
|
|
};
|
|
|
|
services.nfs.server.enable = true;
|
|
services.nfs.server.exports = ''
|
|
/export 10.0.0.0/24(rw,fsid=0,no_subtree_check,crossmnt,no_root_squash)
|
|
'';
|
|
}
|