Simon Bruder
ef2c667bfe
This also changes the firewall rules for the IoT network to no longer accept connections to ntp.org pool hosts over 123/UDP. All clients should use the local NTP server.
12 lines
208 B
Nix
12 lines
208 B
Nix
# SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|
#
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
{
|
|
services.ntp = {
|
|
enable = true;
|
|
};
|
|
|
|
networking.firewall.allowedUDPPorts = [ 123 ];
|
|
}
|