From 0b170187e364e6af9892e6d83247c090a132739c Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Thu, 10 Apr 2014 12:29:46 +0200 Subject: [PATCH] nixos: disable ntp on containers by default --- nixos/modules/services/networking/ntpd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/ntpd.nix b/nixos/modules/services/networking/ntpd.nix index 3d388cb10648..fb7d6802136c 100644 --- a/nixos/modules/services/networking/ntpd.nix +++ b/nixos/modules/services/networking/ntpd.nix @@ -36,7 +36,7 @@ in services.ntp = { enable = mkOption { - default = true; + default = !config.boot.isContainer; description = '' Whether to synchronise your machine's time using the NTP protocol.