sombrero: Cleanup networking/ssh
This commit is contained in:
@@ -46,6 +46,9 @@
|
||||
|
||||
networking = {
|
||||
hostName = "sombrero";
|
||||
|
||||
interfaces = {
|
||||
eth0 = {
|
||||
ipv4 = {
|
||||
addresses = [{
|
||||
address = "192.168.50.200";
|
||||
@@ -53,10 +56,19 @@
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.openssh.enable = true;
|
||||
services.openssh.ports = [ 1122 ];
|
||||
networking.firewall.allowedTCPPorts = [ 1122 ];
|
||||
firewall = {
|
||||
allowedTCPPorts = [ 1122 ];
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
ports = [ 1122 ];
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
|
||||
Reference in New Issue
Block a user