2023-08-19 11:06:28 +03:00
|
|
|
{ pkgs, ... }:
|
2023-07-28 15:39:50 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
networking.wireless.iwd.enable = true;
|
|
|
|
networking.wireless.iwd.settings = {
|
|
|
|
General = {
|
|
|
|
EnableNetworkConfiguration = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.nameservers = [ "1.1.1.1" "1.0.0.1" "8.8.8.8" ];
|
|
|
|
|
2023-07-30 16:47:22 +03:00
|
|
|
networking.enableIPv6 = true;
|
|
|
|
|
2023-07-30 16:59:19 +03:00
|
|
|
services.resolved.enable = true;
|
2023-07-30 16:47:22 +03:00
|
|
|
services.avahi = {
|
|
|
|
enable = true;
|
|
|
|
nssmdns = true;
|
2023-07-30 16:59:19 +03:00
|
|
|
publish = {
|
|
|
|
enable = true;
|
|
|
|
addresses = true;
|
|
|
|
domain = true;
|
|
|
|
hinfo = true;
|
|
|
|
userServices = true;
|
|
|
|
workstation = true;
|
|
|
|
};
|
2023-07-30 16:47:22 +03:00
|
|
|
};
|
|
|
|
|
2023-07-28 15:39:50 +03:00
|
|
|
services.timesyncd.enable = true;
|
|
|
|
networking.timeServers = [ "ntp1.vniiftri.ru" "0.ru.pool.ntp.org" "0.pool.ntp.org" ];
|
2023-08-19 11:06:28 +03:00
|
|
|
boot.kernelModules = [ "af_packet" ];
|
|
|
|
environment.systemPackages = with pkgs; [ mtr tcpdump traceroute ];
|
2023-07-30 16:47:22 +03:00
|
|
|
}
|