Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
Nix
1234567891011121314151617181920212223242526{ lib, ... }:{ name = "ntpd";
meta = { maintainers = with lib.maintainers; [ pyrox0 ]; };
nodes.machine = { services.ntp = { enable = true; }; };
testScript = '' start_all()
machine.wait_for_unit('ntpd.service') machine.wait_for_console_text('Listen normally on 10 eth*') machine.succeed('systemctl is-active ntpd.service') machine.succeed('ntpq -p') # ntp user must be able to create drift files machine.succeed('su -s /bin/sh -c "touch /var/lib/ntp/ntp.drift" ntp') '';}