nixos/openntpd: Add openntpd to the environment for ntpctl
This commit is contained in:
parent
1dd23a28cb
commit
a9f1329d2d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue