mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-12 08:20:39 +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" ];
|
|
}
|