From bc8bd08be73e664d9c872dcd8662ade778288312 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Fri, 4 Jul 2025 18:56:04 +0200 Subject: flake: update --- hosts/workstation/default.nix | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'hosts') diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix index bad7fab..b1315e6 100644 --- a/hosts/workstation/default.nix +++ b/hosts/workstation/default.nix @@ -8,7 +8,15 @@ nixpkgs.config.rocmSupport = true; - networking.hostName = "workstation"; + networking = { + hostName = "workstation"; + + bridges.br0.interfaces = []; + interfaces.br0.ipv4.addresses = [{ + address = "10.0.0.1"; + prefixLength = 8; + }]; + }; boot.loader = { efi.canTouchEfiVariables = true; @@ -87,8 +95,10 @@ environment.systemPackages = with pkgs; [ clinfo ]; virtualisation = { - libvirtd.enable = true; - docker.enable = true; + libvirtd = { + enable = true; + allowedBridges = [ "br0" ]; + }; }; system.stateVersion = "24.05"; -- cgit v1.2.3-70-g09d2