19 lines
648 B
Nix
19 lines
648 B
Nix
{ pkgs, ... }:
|
|
{
|
|
# Cluster node configuration
|
|
# Extends minimal-node with cluster-specific services (Consul, GlusterFS, CIFS, NFS)
|
|
# Used by: compute nodes (c1, c2, c3)
|
|
imports = [
|
|
./minimal-node.nix
|
|
./unattended-encryption.nix
|
|
./cifs-client.nix
|
|
./consul.nix
|
|
./glusterfs-client.nix # Keep during migration, will be removed in Phase 3
|
|
./nfs-services-client.nix # New: NFS client for /data/services
|
|
];
|
|
|
|
# Wait for eno1 to be routable before considering network online
|
|
# (hosts with different primary interfaces should override this)
|
|
systemd.network.wait-online.extraArgs = [ "--interface=eno1:routable" ];
|
|
}
|