Merge pull request #2199 from offlinehacker/nixos/ntp/containers_fix
nixos: disable ntp on containers by default
This commit is contained in:
commit
0e147530ef
@ -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…
x
Reference in New Issue
Block a user