Make sparky a NFS backup instead of desktop.
This commit is contained in:
@@ -3,9 +3,10 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../common/encrypted-btrfs-layout.nix
|
../../common/encrypted-btrfs-layout.nix
|
||||||
../../common/global
|
../../common/global
|
||||||
../../common/desktop-node.nix # Hyprland + GUI environment
|
../../common/cluster-member.nix
|
||||||
../../common/cluster-member.nix # Consul + storage clients
|
../../common/cluster-tools.nix
|
||||||
../../common/cluster-tools.nix # Nomad CLI (no service)
|
../../common/nomad-worker.nix
|
||||||
|
../../nfs-services-standby.nix
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
../../common/cluster-member.nix # Consul + storage clients
|
../../common/cluster-member.nix # Consul + storage clients
|
||||||
../../common/nomad-worker.nix # Nomad client (runs jobs)
|
../../common/nomad-worker.nix # Nomad client (runs jobs)
|
||||||
# NOTE: zippy is NOT a server - no nomad-server.nix import
|
# NOTE: zippy is NOT a server - no nomad-server.nix import
|
||||||
# ../../common/ethereum.nix
|
|
||||||
../../common/nfs-services-server.nix # NFS server for /data/services
|
../../common/nfs-services-server.nix # NFS server for /data/services
|
||||||
# To move NFS server role to another host:
|
# To move NFS server role to another host:
|
||||||
# 1. Follow procedure in docs/NFS_FAILOVER.md
|
# 1. Follow procedure in docs/NFS_FAILOVER.md
|
||||||
@@ -24,6 +23,8 @@
|
|||||||
networking.hostName = "zippy";
|
networking.hostName = "zippy";
|
||||||
services.tailscaleAutoconnect.authkey = "tskey-auth-ktKyQ59f2p11CNTRL-ut8E71dLWPXsVtb92hevNX9RTjmk4owBf";
|
services.tailscaleAutoconnect.authkey = "tskey-auth-ktKyQ59f2p11CNTRL-ut8E71dLWPXsVtb92hevNX9RTjmk4owBf";
|
||||||
|
|
||||||
# NFS server configuration: replicate to c1 as standby
|
nfsServicesServer.standbys = [
|
||||||
nfsServicesServer.standbys = [ "c1" ];
|
"c1"
|
||||||
|
"sparky"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user