meow
This commit is contained in:
parent
24ca18c18e
commit
f54534e771
3 changed files with 29 additions and 0 deletions
|
|
@ -26,6 +26,7 @@
|
|||
./modules/podman.nix
|
||||
./modules/minecraft.nix
|
||||
./modules/htop.nix
|
||||
./modules/virtualisation.nix
|
||||
|
||||
inputs.comin.nixosModules.comin
|
||||
inputs.flux.nixosModules.default
|
||||
|
|
|
|||
|
|
@ -24,6 +24,29 @@
|
|||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
# 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.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
|
|
|
|||
5
modules/virtualisation.nix
Normal file
5
modules/virtualisation.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{ ... }:
|
||||
{
|
||||
virtualisation.libvirtd.enable = true;
|
||||
programs.virt-manager.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue