diff --git a/machines/workstation/networking.nix b/machines/workstation/networking.nix index 0b7ecbb..4660c6f 100644 --- a/machines/workstation/networking.nix +++ b/machines/workstation/networking.nix @@ -1,8 +1,20 @@ { ... }: { networking.networkmanager.enable = true; - networking.firewall.allowedUDPPorts = [ 8000 ]; - networking.firewall.allowedTCPPorts = [ 8000 ]; + networking.firewall.allowedUDPPorts = [ 8000 23 ]; + networking.firewall.allowedTCPPorts = [ 8000 23 ]; + networking.useDHCP = false; + networking.bridges = { + "br0" = { + interfaces = [ "eno1" ]; + }; + }; + networking.interfaces.br0.ipv4.addresses = [{ + address = "192.168.1.235"; + prefixLength = 24; + }]; + networking.defaultGateway = "192.168.1.1"; + networking.nameservers = [ "1.1.1.1" "1.0.0.1" ]; hardware.bluetooth.enable = true; hardware.bluetooth.powerOnBoot = true; } diff --git a/modules/packages.nix b/modules/packages.nix index b914947..c0bdb21 100644 --- a/modules/packages.nix +++ b/modules/packages.nix @@ -52,6 +52,7 @@ kitty mpv telegram-desktop + virt-manager ] ++ (if gamingSystem then [ archipelago dolphin-emu