summary refs log tree commit diff
path: root/nixos/modules/services/networking/ntpd.nix
Commit message (Collapse)AuthorAge
* nixos/ntp: use upstream default restrictions to avoid DDoS (#50762)Brandon Black2018-11-28
| | | | Fixes #50732
* nixos: fix #48917 by setting SYSTEMD_TIMEDATED_NTP_SERVICESAustin Seipp2018-11-02
| | | | | | | | | Setting this variable in the environment of systemd-timedated allows 'timedatectl' to tell if an NTP service is running. Closes #48917. Signed-off-by: Austin Seipp <aseipp@pobox.com>
* nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink2018-06-30
|
* ntp: make timesyncd the new defaultJörg Thalheim2016-12-17
| | | | | | | | - most nixos user only require time synchronisation, while ntpd implements a battery-included ntp server (1,215 LOCs of C-Code vs 64,302) - timesyncd support ntp server per interface (if configured through dhcp for instance) - timesyncd is already included in the systemd package, switching to it would save a little disk space (1,5M)
* services.*ntp*: Add time-sync.target to ntp clients (#15714)Alexander Ried2016-05-26
| | | See: https://www.freedesktop.org/software/systemd/man/systemd.special.html#time-sync.target
* nixos ntpd: allow passing extra flagsLuca Bruno2015-09-10
|
* ntpd: Fork into the backgroundEelco Dolstra2015-01-28
| | | | | With -n, ntpd will write log messages to both syslog and stderr, which is ugly.
* Fix ntpdEelco Dolstra2014-12-28
| | | | | | | | | | Since the 4.2.8 upgrade, ntpd is broken on NixOS: Dec 28 19:06:54 hagbard ntpd[27723]: giving up resolving host 1.nixos.pool.ntp.org: Servname not supported for ai_socktype (-8) This appears to be because DNS resolution doesn't work in chroots anymore (due to /etc being missing). So disable chroots for now. It's probably better to use systemd's containment facilities anyway.
* Merge pull request #5043 from wkennington/master.networkdWilliam A. Kennington III2014-11-29
|\ | | | | nixos/networking: Revamp networking configuration and add an experimental networkd option.
| * nixos/networking: FixesWilliam A. Kennington III2014-11-26
| |
* | nixos: Use vendor zones instead of N.pool.ntp.org.aszlig2014-11-28
|/ | | | | | Closes #4824, thanks to @abh for processing my stupidity. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* nixos: disable ntp on containers by defaultJaka Hudoklin2014-04-10
|
* Allow ntpq locallyGergely Risko2014-03-06
|
* ntpd: Don't answer status queriesEelco Dolstra2014-02-03
| | | | | | Workaround for CVE-2013-5211: http://support.ntp.org/bin/view/Main/SecurityNotice#DRDoS_Amplification_Attack_using
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10