flakes/hosts/anemone/networking.nix

19 lines
381 B
Nix
Raw Permalink Normal View History

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-07-02 09:51:04 +10:00
#wg-quick.interfaces.wg0.configFile = "/persist/vpn.conf";
2024-03-14 13:55:31 +11:00
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
'';
};
environment.etc."NetworkManager/system-connections".source = "/persist/nm_system-connections";
2024-01-17 15:40:02 +07:00
}