weh
This commit is contained in:
parent
5536af3b94
commit
1f7b21b670
4 changed files with 22 additions and 552 deletions
|
|
@ -5,21 +5,17 @@
|
|||
# IMPORTS
|
||||
# =============================================================================
|
||||
imports = [
|
||||
# Host-specific hardware
|
||||
./hardware.nix
|
||||
./secrets.nix
|
||||
../../common/nvidia.nix
|
||||
|
||||
# Common secrets
|
||||
../../host-secrets.nix
|
||||
|
||||
# Common modules shared across hosts
|
||||
../../common/system.nix
|
||||
../../common/users.nix
|
||||
../../common/services.nix
|
||||
../../common/efi.nix
|
||||
|
||||
# Hardware-specific (commented out)
|
||||
../../common/nvidia.nix
|
||||
];
|
||||
|
||||
|
|
@ -59,21 +55,23 @@
|
|||
networking.hostId = "2a07da90";
|
||||
networking.firewall.enable = false;
|
||||
|
||||
services.proxmox-ve.bridges = [ "vmbr0" ];
|
||||
|
||||
systemd.network.networks."10-lan" = {
|
||||
matchConfig.Name = ["enp6s0" "vm-*"];
|
||||
matchConfig.Name = ["enp6s0"];
|
||||
networkConfig = {
|
||||
Bridge = "br0";
|
||||
Bridge = "vmbr0";
|
||||
};
|
||||
};
|
||||
systemd.network.netdevs."br0" = {
|
||||
netdevConfig = {
|
||||
Name = "br0";
|
||||
Name = "vmbr0";
|
||||
Kind = "bridge";
|
||||
};
|
||||
};
|
||||
|
||||
systemd.network.networks."10-lan-bridge" = {
|
||||
matchConfig.Name = "br0";
|
||||
matchConfig.Name = "vmbr0";
|
||||
networkConfig = {
|
||||
Address = ["10.0.0.30/24" "2601:5c2:8400:26c0::30/64"];
|
||||
Gateway = "10.0.0.1";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue