diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-04-10 12:29:46 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-04-10 12:30:03 +0200 |
commit | 0b170187e364e6af9892e6d83247c090a132739c (patch) | |
tree | 08fe9aeaee479fc0a6521391da65864d85630d50 /nixos/modules/services/networking/ntpd.nix | |
parent | d54a8052812d7ab93a18f667edc15bcda4640bae (diff) | |
download | nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.tar nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.tar.gz nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.tar.bz2 nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.tar.lz nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.tar.xz nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.tar.zst nixpkgs-0b170187e364e6af9892e6d83247c090a132739c.zip |
nixos: disable ntp on containers by default
Diffstat (limited to 'nixos/modules/services/networking/ntpd.nix')
-rw-r--r-- | nixos/modules/services/networking/ntpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ntpd.nix b/nixos/modules/services/networking/ntpd.nix index 3d388cb1064..fb7d6802136 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. |