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 {
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user