mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 02:08:29 +02: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.aliyun.com" # Aliyun NTP Server
|
||||||
"ntp.tencent.com" # Tencent 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