flakes/hosts/anemone/networking.nix

17 lines
280 B
Nix
Raw Normal View History

2024-01-17 15:40:02 +07:00
{ config, ... }: {
networking = {
2024-02-19 16:38:34 +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-02-19 16:32:50 +11:00
dns = "none";
2024-01-17 15:40:02 +07:00
};
extraHosts = ''
192.168.100.16 hyacinth
'';
};
}