mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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 New Issue
Block a user