mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-08 04:38:06 +01:00
17 lines
404 B
Nix
17 lines
404 B
Nix
{ ... }:
|
|
{
|
|
networking.networkmanager.enable = true;
|
|
networking.firewall.allowedUDPPorts = [ 8000 23 ];
|
|
networking.firewall.allowedTCPPorts = [ 8000 23 ];
|
|
# networking.bridges = {
|
|
# "br0" = {
|
|
# interfaces = [ "eno1" ];
|
|
# };
|
|
# };
|
|
# networking.interfaces.br0.ipv4.addresses = [{
|
|
# address = "192.168.1.235";
|
|
# prefixLength = 24;
|
|
# }];
|
|
networking.nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
|
}
|