From a9f1329d2d1f5bd9e151ddffd842c40313f4f190 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 4 Feb 2015 17:26:52 -0800 Subject: nixos/openntpd: Add openntpd to the environment for ntpctl --- nixos/modules/services/networking/openntpd.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules') diff --git a/nixos/modules/services/networking/openntpd.nix b/nixos/modules/services/networking/openntpd.nix index d1c32db49c4c..7d01246ed769 100644 --- a/nixos/modules/services/networking/openntpd.nix +++ b/nixos/modules/services/networking/openntpd.nix @@ -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; -- cgit 1.4.1