diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-07-04 18:56:04 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2025-07-04 18:56:04 +0200 |
| commit | bc8bd08be73e664d9c872dcd8662ade778288312 (patch) | |
| tree | 794f923e7f4b9dea5c5ec4f3a3ad7cb7c5e4c11e /hosts | |
| parent | 75bdc69393791624084bf68c4d9a93219e6e0a0f (diff) | |
flake: update
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/workstation/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
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"; |