remove bridge from bolty
This commit is contained in:
parent
47148468b2
commit
0486fdbabb
1 changed files with 2 additions and 28 deletions
|
@ -4,10 +4,7 @@
|
|||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
physicalInterface = "enp4s0";
|
||||
bridgeInterface = "br0";
|
||||
in {
|
||||
}: {
|
||||
imports = [
|
||||
./bolty-boot.nix
|
||||
./real-hardware.nix
|
||||
|
@ -20,30 +17,7 @@ in {
|
|||
];
|
||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||
programs.ccache.enable = true;
|
||||
networking = {
|
||||
hostName = "bolty";
|
||||
useDHCP = false;
|
||||
defaultGateway = {
|
||||
address = "10.0.0.1";
|
||||
interface = "${bridgeInterface}";
|
||||
};
|
||||
nameservers = ["91.239.100.100" "89.233.43.71" "1.1.1.1"];
|
||||
interfaces = {
|
||||
"${physicalInterface}" = {
|
||||
useDHCP = false;
|
||||
wakeOnLan.enable = true;
|
||||
};
|
||||
"${bridgeInterface}" = {
|
||||
ipv4.addresses = [
|
||||
{
|
||||
"address" = "10.0.0.8";
|
||||
"prefixLength" = 24;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
bridges = {"${bridgeInterface}".interfaces = ["${physicalInterface}"];};
|
||||
};
|
||||
networking.hostName = "bolty";
|
||||
boot.kernelModules = ["kvm_amd"];
|
||||
virtualisation = {
|
||||
libvirtd = {
|
||||
|
|
Loading…
Reference in a new issue