NFS server and client setup.
This commit is contained in:
@@ -5,6 +5,11 @@
|
||||
../../common/global
|
||||
../../common/compute-node.nix
|
||||
# ../../common/ethereum.nix
|
||||
../../common/nfs-services-server.nix # NFS server for /data/services
|
||||
# To move NFS server role to another host:
|
||||
# 1. Follow procedure in docs/NFS_FAILOVER.md
|
||||
# 2. Replace above line with: ../../common/nfs-services-standby.nix
|
||||
# 3. Add nfsServicesStandby.replicationKeys with the new server's public key
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
@@ -16,4 +21,7 @@
|
||||
|
||||
networking.hostName = "zippy";
|
||||
services.tailscaleAutoconnect.authkey = "tskey-auth-ktKyQ59f2p11CNTRL-ut8E71dLWPXsVtb92hevNX9RTjmk4owBf";
|
||||
|
||||
# NFS server configuration: replicate to c1 as standby
|
||||
nfsServicesServer.standbys = [ "c1" ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user