From 8ba385c85e9bada730885bf01d7261aac9c935b5 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Wed, 18 Jan 2017 16:10:25 +0100 Subject: [PATCH] steveej-laptop: add virbr1 interface for VMs --- nixos-configuration/steveej-laptop/system.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos-configuration/steveej-laptop/system.nix b/nixos-configuration/steveej-laptop/system.nix index f783f51..3a8cd37 100644 --- a/nixos-configuration/steveej-laptop/system.nix +++ b/nixos-configuration/steveej-laptop/system.nix @@ -30,6 +30,11 @@ ]; }; + networking.bridges."virbr1".interfaces = []; + networking.interfaces."virbr1".ip4 = [ + { address = "10.254.254.254"; prefixLength = 24; } + ]; + programs.bash = { enableCompletion = true; promptInit = ''