mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 09:55:05 +03:00
31 lines
647 B
Nix
31 lines
647 B
Nix
{ ... }:
|
|
|
|
{
|
|
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" ];
|
|
|
|
networking.enableIPv6 = true;
|
|
|
|
services.resolved.enable = true;
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns = true;
|
|
publish = {
|
|
enable = true;
|
|
addresses = true;
|
|
domain = true;
|
|
hinfo = true;
|
|
userServices = true;
|
|
workstation = true;
|
|
};
|
|
};
|
|
|
|
services.timesyncd.enable = true;
|
|
networking.timeServers = [ "ntp1.vniiftri.ru" "0.ru.pool.ntp.org" "0.pool.ntp.org" ];
|
|
}
|