diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-06-14 13:39:16 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-06-14 13:39:16 -0500 |
| commit | 6451ea9aee5adb416570e6756402303d0c2e3554 (patch) | |
| tree | bfa912f647768ff6dc638fa047547ea7b396e497 /hosts/poweredge/bitcoind.nix | |
| parent | ee78434183f94624fb25640a76b571c00e67e1b0 (diff) | |
| download | nixos-6451ea9aee5adb416570e6756402303d0c2e3554.tar.xz nixos-6451ea9aee5adb416570e6756402303d0c2e3554.zip | |
fix default gateway for router and assign mac addresses for all containers
Diffstat (limited to 'hosts/poweredge/bitcoind.nix')
| -rw-r--r-- | hosts/poweredge/bitcoind.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/hosts/poweredge/bitcoind.nix b/hosts/poweredge/bitcoind.nix index 715fb8a..cff9cd3 100644 --- a/hosts/poweredge/bitcoind.nix +++ b/hosts/poweredge/bitcoind.nix @@ -3,10 +3,8 @@ autoStart = true; ephemeral = true; privateNetwork = true; - extraVeths.vb-bitcoind = { - hostBridge = "br-lan0"; - #localMacAddress = "02:00:00:00:00:04"; # TODO update to 26.05 - }; + hostBridge = "br-lan0"; + localMacAddress = "02:00:00:00:00:04"; # Host path bindMounts = { @@ -17,10 +15,10 @@ }; config = { lib, pkgs, config, ... }: let - btdPort = 8333; + btcPort = 8333; in { # Network - networking.interfaces.vb-bitcoind.useDHCP = true; + networking.interfaces.eth0.useDHCP = true; networking.firewall.allowedTCPPorts = [ btcPort ]; # Bitcoin |
