{ nodeIndex, nodeConfig, ... }: { lib, config, nodes, ... }: with lib; { imports = [ ./hardware.nix ./disk.nix ./network.nix ./users.nix ./slurm.nix ]; _module.args = { inherit nodeIndex nodeConfig; }; deployment = { targetHost = "10.32.47.${toString (100 + nodeIndex)}"; targetUser = "root"; tags = [ "node" ]; }; hpc.node = { enable = true; id = nodeIndex; }; hpc.netinstall.enable = true; networking.hostName = config.hpc.node.name; networking.timeServers = [ "manager.${config.networking.domain}" ]; nix.settings = { substituters = [ "http://cache.${config.networking.domain}" ]; trusted-public-keys = [ (fileContents nodes."manager".config.gather.parts."cache/key".path) ]; }; }