forked from mirrors/nixpkgs
nixos: disable ntp on containers by default
This commit is contained in:
parent
d54a805281
commit
0b170187e3
|
@ -36,7 +36,7 @@ in
|
||||||
services.ntp = {
|
services.ntp = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = true;
|
default = !config.boot.isContainer;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to synchronise your machine's time using the NTP
|
Whether to synchronise your machine's time using the NTP
|
||||||
protocol.
|
protocol.
|
||||||
|
|
Loading…
Reference in a new issue