added time servers

This commit is contained in:
Elias Gasparis 2025-06-20 09:38:46 +08:00
parent 5e9d33551c
commit c23bac3d84

View file

@ -85,6 +85,48 @@
# Enable sudo-rs for better security (memory safe, written in Rust).
security.sudo-rs.enable = true;
# Localization & Time Zones
services.timesyncd = {
enable = true;
# NTP servers from around the world
servers = [
# Canada - Canadian government (CDN NTP Project)
"ntp1.ca"
"ntp2.ca"
"ntp3.ca"
# Iceland - RHnet (Icelandic University Research Network)
"ntp1.is"
# Netherlands - SURFnet (Research & Education Network)
"time1.surfnet.nl"
"time2.surfnet.nl"
# France - Paris Observatory (Observatoire de Paris)
"ntp.obspm.fr"
# Germany - Physikalisch-Technische Bundesanstalt (PTB)
"ptbtime1.ptb.de"
# Japan - NICT (National Institute of Information and Communications Technology)
"ntp.nict.jp"
# South Korea - KRISS (Korea Research Institute of Standards and Science)
"time.kriss.re.kr"
"time.bora.net"
"time.nuri.net"
# New Zealand - NIWA (National Institute of Water and Atmospheric Research)
"ntp1.niwa.co.nz"
# Australia - NMI (National Measurement Institute)
"ntp1.nmi.gov.au"
"ntp2.nmi.gov.au"
"ntp3.nmi.gov.au"
];
};
# Set your time zone.
time.timeZone = "Asia/Taipei";
@ -153,7 +195,7 @@
users.users.elias = {
isNormalUser = true;
description = "elias";
#ADDED AUDIO GROUP FOR MICROPHONE, DIDN"T HELP
#ADDED AUDIO GROUP FOR MICROPHONE, DIDN"T HELP
extraGroups = [ "networkmanager" "wheel" "audio"];
packages = with pkgs; [
# thunderbird