mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-19 16:21:29 +01:00
feat: allow to modify /etc/hosts for testing
This commit is contained in:
@@ -18,4 +18,8 @@
|
||||
"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