mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
config: append default timeservers
They're becoming slow lately so we'll have to replace it.
This commit is contained in:
parent
a16675046e
commit
a8def0527e
10
flake.nix
10
flake.nix
@ -137,7 +137,7 @@
|
||||
# The shared configuration for the entire list of hosts for this cluster.
|
||||
# Take note to only set as minimal configuration as possible since we're
|
||||
# also using this with the stable version of nixpkgs.
|
||||
hostSharedConfig = { config, lib, pkgs, ... }: {
|
||||
hostSharedConfig = { options, config, lib, pkgs, ... }: {
|
||||
# Some defaults for evaluating modules.
|
||||
_module.check = true;
|
||||
|
||||
@ -160,6 +160,14 @@
|
||||
# BOOOOOOOOOOOOO! Somebody give me a tomato!
|
||||
services.xserver.excludePackages = with pkgs; [ xterm ];
|
||||
|
||||
# Append with the default time servers. It is becoming more unresponsive as
|
||||
# of 2023-10-28.
|
||||
networking.timeServers = [
|
||||
"europe.pool.ntp.org"
|
||||
"asia.pool.ntp.org"
|
||||
"time.cloudflare.com"
|
||||
] ++ options.networking.timeServers.default;
|
||||
|
||||
# Set several paths for the traditional channels.
|
||||
nix.nixPath =
|
||||
lib.mapAttrsToList
|
||||
|
Loading…
Reference in New Issue
Block a user