summaryrefslogtreecommitdiff
path: root/hosts/poweredge/bitcoind.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-06-14 13:39:16 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-06-14 13:39:16 -0500
commit6451ea9aee5adb416570e6756402303d0c2e3554 (patch)
treebfa912f647768ff6dc638fa047547ea7b396e497 /hosts/poweredge/bitcoind.nix
parentee78434183f94624fb25640a76b571c00e67e1b0 (diff)
downloadnixos-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.nix10
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