2024-06-23 22:48:22 +02:00
|
|
|
{config, ...}: {
|
2024-06-26 19:30:41 +02:00
|
|
|
imports = [./common.nix];
|
|
|
|
|
2024-06-23 22:48:22 +02:00
|
|
|
_module.args.nixinate = {
|
|
|
|
host = config.networking.hostName;
|
|
|
|
sshUser = "root";
|
|
|
|
buildOn = "remote";
|
|
|
|
substituteOnTarget = true;
|
|
|
|
hermetic = true;
|
|
|
|
};
|
|
|
|
|
2024-06-20 16:49:12 +02:00
|
|
|
services = {
|
|
|
|
tailscale.extraUpFlags = ["--advertise-exit-node"];
|
|
|
|
|
|
|
|
openssh = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
|
|
X11Forwarding = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-05-12 13:33:15 +02:00
|
|
|
}
|