mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-26 01:48:27 +02:00
refactor: aquamarine - enable tailscale
This commit is contained in:
11
modules/nixos/base/networking/misc.nix
Normal file
11
modules/nixos/base/networking/misc.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
# Use an NTP server located in the mainland of China to synchronize the system time
|
||||
networking.timeServers = [
|
||||
"ntp.aliyun.com" # Aliyun NTP Server
|
||||
"ntp.tencent.com" # Tencent NTP Server
|
||||
];
|
||||
|
||||
# dynamically update /etc/hosts for testing
|
||||
# Note that changes made in this way will be discarded when switching configurations.
|
||||
environment.etc.hosts.mode = "0644";
|
||||
}
|
||||
Reference in New Issue
Block a user