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;