mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-13 12:13:36 +01:00
feat: allow to modify /etc/hosts for testing
This commit is contained in:
1 parent
0a05224ffe
commit
a144093227
1 file changed
+4
@@ -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