0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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 { config = mkIf cfg.enable {
services.ntp.enable = mkForce false; services.ntp.enable = mkForce false;
# Add ntpctl to the environment for status checking
environment.systemPackages = [ openntpd ];
users.extraUsers = singleton { users.extraUsers = singleton {
name = "ntp"; name = "ntp";
uid = config.ids.uids.ntp; uid = config.ids.uids.ntp;