2024-05-30 16:54:58 -03:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2024-05-27 12:29:42 -03:00
|
|
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
|
|
# Configure network proxy if necessary
|
|
|
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
|
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
|
|
# Enable networking
|
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Open kde connect ports
|
|
|
|
programs.kdeconnect.enable = true;
|
|
|
|
|
2024-07-23 18:26:33 -03:00
|
|
|
networking.firewall = {
|
|
|
|
enable = true;
|
|
|
|
logRefusedConnections = false;
|
|
|
|
};
|
|
|
|
|
2024-05-27 12:29:42 -03:00
|
|
|
# Enable CUPS to print documents.
|
|
|
|
# services.printing.enable = true;
|
|
|
|
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services.openssh = {
|
|
|
|
enable = true;
|
|
|
|
ports = [ 9022 ];
|
|
|
|
settings = {
|
|
|
|
PermitRootLogin = "no";
|
|
|
|
PasswordAuthentication = false;
|
|
|
|
KbdInteractiveAuthentication = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|