2024-01-17 15:40:02 +07:00
|
|
|
{ config, ... }: {
|
|
|
|
|
networking = {
|
2024-03-14 14:22:04 +11:00
|
|
|
#nameservers = [ "8.8.8.8" "8.8.4.4" ];
|
2024-01-17 15:40:02 +07:00
|
|
|
|
2024-03-14 13:55:31 +11:00
|
|
|
wg-quick.interfaces.wg0.configFile = "/persist/vpn.conf";
|
|
|
|
|
|
2024-01-17 15:40:02 +07:00
|
|
|
networkmanager = {
|
|
|
|
|
enable = true;
|
2024-03-14 14:22:04 +11:00
|
|
|
#dns = "none";
|
2024-01-17 15:40:02 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
extraHosts = ''
|
|
|
|
|
192.168.100.16 hyacinth
|
|
|
|
|
'';
|
|
|
|
|
};
|
2024-03-24 14:12:05 +11:00
|
|
|
|
|
|
|
|
environment.etc."NetworkManager/system-connections".source = "/persist/nm_system-connections";
|
2024-01-17 15:40:02 +07:00
|
|
|
}
|