25 lines
395 B
Nix
25 lines
395 B
Nix
{ ... }:
|
|
{
|
|
networking = {
|
|
enableIPv6 = true;
|
|
|
|
interfaces = {
|
|
"ens3".ipv6.addresses = [
|
|
{
|
|
address = "2a03:4000:3b:f99::";
|
|
prefixLength = 64;
|
|
}
|
|
];
|
|
};
|
|
|
|
defaultGateway6 = {
|
|
address = "fe80::1";
|
|
interface = "ens3";
|
|
};
|
|
};
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
settings.PasswordAuthentication = false;
|
|
};
|
|
}
|