mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +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.
|
# 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
|
# Take note to only set as minimal configuration as possible since we're
|
||||||
# also using this with the stable version of nixpkgs.
|
# also using this with the stable version of nixpkgs.
|
||||||
hostSharedConfig = { config, lib, pkgs, ... }: {
|
hostSharedConfig = { options, config, lib, pkgs, ... }: {
|
||||||
# Some defaults for evaluating modules.
|
# Some defaults for evaluating modules.
|
||||||
_module.check = true;
|
_module.check = true;
|
||||||
|
|
||||||
@ -160,6 +160,14 @@
|
|||||||
# BOOOOOOOOOOOOO! Somebody give me a tomato!
|
# BOOOOOOOOOOOOO! Somebody give me a tomato!
|
||||||
services.xserver.excludePackages = with pkgs; [ xterm ];
|
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.
|
# Set several paths for the traditional channels.
|
||||||
nix.nixPath =
|
nix.nixPath =
|
||||||
lib.mapAttrsToList
|
lib.mapAttrsToList
|
||||||
|
Loading…
Reference in New Issue
Block a user