nixos/openntpd: Add openntpd to the environment for ntpctl

This commit is contained in:
William A. Kennington III 2015-02-04 17:26:52 -08:00
parent 1dd23a28cb
commit a9f1329d2d

View File

@ -54,6 +54,9 @@ in
config = mkIf cfg.enable {
services.ntp.enable = mkForce false;
# Add ntpctl to the environment for status checking
environment.systemPackages = [ openntpd ];
users.extraUsers = singleton {
name = "ntp";
uid = config.ids.uids.ntp;