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;
|
|
|
|
|
|
|
|
# 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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|