nix-conf/modules/nixos/networking/default.nix
2024-04-10 23:12:17 +05:30

20 lines
393 B
Nix

_: {
networking = {
hostname = "bridge";
networkmanager = {
enable = true;
unmanaged = ["virbr0" "docker0"];
};
nftables.enable = true;
firewall.trustedInterfaces = ["incusbr0" "virbr0"];
extraHosts = ''
185.199.108.133 raw.githubusercontent.com
'';
nameservers = ["1.1.1.1" "9.9.9.9"];
bridges = {incusbr0.interfaces = [];};
};
}