refactor, ssh changes
This commit is contained in:
parent
3c6fc1476a
commit
bf05141776
7 changed files with 12 additions and 15 deletions
28
host/roam/services/networking.nix
Normal file
28
host/roam/services/networking.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{ ... }:
|
||||
{
|
||||
networking = {
|
||||
enableIPv6 = true;
|
||||
|
||||
interfaces = {
|
||||
"ens3".ipv6.addresses = [
|
||||
{
|
||||
address = "2a03:4000:3b:f99::";
|
||||
prefixLength = 64;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
defaultGateway6 = {
|
||||
address = "fe80::1";
|
||||
interface = "ens3";
|
||||
};
|
||||
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue