Skip to content

Commit

Permalink
add chopper second NIC as bridge interface
Browse files Browse the repository at this point in the history
  • Loading branch information
devusb committed Mar 9, 2024
1 parent d321959 commit 1b209dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hosts/chopper/virtualisation.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
{ ... }: {
virtualisation.libvirtd = {
enable = true;
allowedBridges = [
"virbr0"
];
};

users.users.mhelton.extraGroups = [ "libvirtd" ];

networking = {
interfaces.enp5s0.useDHCP = false;
bridges = {
virbr0 = {
interfaces = [
"enp5s0"
];
};
};
};

}

0 comments on commit 1b209dd

Please sign in to comment.