about summary refs log tree commit diff
path: root/nixos/modules/services/networking
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-04-10 12:33:35 +0200
committerPeter Simons <simons@cryp.to>2014-04-10 12:33:35 +0200
commit0e147530ef802b271f0946323c137a22f4322079 (patch)
tree7ab145219652cd2b28650cf998e29c0858bda355 /nixos/modules/services/networking
parent3ada08785f2bd191d3195e332b5c225f1d730038 (diff)
parent0b170187e364e6af9892e6d83247c090a132739c (diff)
downloadnixlib-0e147530ef802b271f0946323c137a22f4322079.tar
nixlib-0e147530ef802b271f0946323c137a22f4322079.tar.gz
nixlib-0e147530ef802b271f0946323c137a22f4322079.tar.bz2
nixlib-0e147530ef802b271f0946323c137a22f4322079.tar.lz
nixlib-0e147530ef802b271f0946323c137a22f4322079.tar.xz
nixlib-0e147530ef802b271f0946323c137a22f4322079.tar.zst
nixlib-0e147530ef802b271f0946323c137a22f4322079.zip
Merge pull request #2199 from offlinehacker/nixos/ntp/containers_fix
nixos: disable ntp on containers by default
Diffstat (limited to 'nixos/modules/services/networking')
-rw-r--r--nixos/modules/services/networking/ntpd.nix2
1 files changed, 1 insertions, 1 deletions
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.