{ id, ... }: { lib, config, nodes, ... }: with lib; { imports = [ ./hardware.nix ./disk.nix ./network.nix ./users.nix ]; deployment = { targetHost = "10.32.47.${fixedWidthNumber 3 (100 + id)}"; targetUser = "root"; tags = [ "node" ]; }; _module.args = { node-id = id; }; networking.hostName = "node-${fixedWidthNumber 2 id}"; 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) ]; }; }