20 lines
410 B
Nix
20 lines
410 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
networking = {
|
|
wireless = {
|
|
enable = false;
|
|
networks = {
|
|
# "bennynet" = {
|
|
# pskRaw = "85e8f17e02f4b4df5ddc9b95d1a4256b3c2608fcc8dfa1860b693d06c2a0bf1f";
|
|
# };
|
|
};
|
|
};
|
|
firewall = {
|
|
enable = true;
|
|
allowedTCPPorts = [ 22 ];
|
|
extraCommands = "iptables -A INPUT -s 192.168.0.0/16 -j ACCEPT";
|
|
|
|
};
|
|
};
|
|
}
|