mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-11 16:00:48 +01:00
7 lines
195 B
Nix
7 lines
195 B
Nix
{ config, lib, options, ... }:
|
|
|
|
let inherit (import ../../options.nix) ntp; in
|
|
lib.mkIf (ntp == true) {
|
|
networking.timeServers = options.networking.timeServers.default ++ [ "pool.ntp.org" ];
|
|
}
|