This commit is contained in:
Lucy von Overheidt 2025-09-14 01:52:18 +02:00
parent 24ca18c18e
commit f54534e771
3 changed files with 29 additions and 0 deletions

View file

@ -26,6 +26,7 @@
./modules/podman.nix ./modules/podman.nix
./modules/minecraft.nix ./modules/minecraft.nix
./modules/htop.nix ./modules/htop.nix
./modules/virtualisation.nix
inputs.comin.nixosModules.comin inputs.comin.nixosModules.comin
inputs.flux.nixosModules.default inputs.flux.nixosModules.default

View file

@ -24,6 +24,29 @@
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# networking.networkmanager.enable = true; # Easiest to use and most distros use this by default. # networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
systemd.network.networks."10-lan" = {
matchConfig.Name = [ "eno1np0" ];
networkConfig = {
Bridge = "vmbr0";
};
};
systemd.network.netdevs."vmbr0" = {
netdevConfig = {
Name = "vmbr0";
Kind = "bridge";
};
};
systemd.network.networks."10-lan-bridge" = {
matchConfig.Name = "vmbr0";
networkConfig = {
IPv6AcceptRA = true;
DHCP = "yes";
};
linkConfig.RequiredForOnline = "routable";
};
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";

View file

@ -0,0 +1,5 @@
{ ... }:
{
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}