From 95b4b8dd553802f6e5e3d3123c191725231a46c2 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 2 May 2024 13:49:24 +0900 Subject: [PATCH] Remove bitcoin --- nixos/hosts/framework-server/bitcoin.nix | 16 ---------------- nixos/hosts/framework-server/default.nix | 1 - nixos/hosts/framework-server/firewall.nix | 5 +++++ nixos/users/albert/desktop.nix | 6 +++--- 4 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 nixos/hosts/framework-server/bitcoin.nix diff --git a/nixos/hosts/framework-server/bitcoin.nix b/nixos/hosts/framework-server/bitcoin.nix deleted file mode 100644 index 6ce1e6dd..00000000 --- a/nixos/hosts/framework-server/bitcoin.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ inputs, config, pkgs, username, ... }: { - import = [ - inputs.nix-bitcoin.nixosModules.default - # Secure defaults - (inputs.nix-bitcoin + "/modules/presets/secure-node.nix") - ]; - - nix-bitcoin = { - enable = true; - operator = username; - }; - - services.bitcoind.dataDir = "/Storage/bitcoind"; - services.bitcoind.txindex = true; - -} diff --git a/nixos/hosts/framework-server/default.nix b/nixos/hosts/framework-server/default.nix index 5603eb69..fa14ba95 100644 --- a/nixos/hosts/framework-server/default.nix +++ b/nixos/hosts/framework-server/default.nix @@ -14,7 +14,6 @@ ./wireguard.nix ./cron.nix ./firewall.nix - ./bitcoin.nix ]; environment.systemPackages = [ diff --git a/nixos/hosts/framework-server/firewall.nix b/nixos/hosts/framework-server/firewall.nix index 4397eedc..5cd585ed 100644 --- a/nixos/hosts/framework-server/firewall.nix +++ b/nixos/hosts/framework-server/firewall.nix @@ -25,6 +25,11 @@ 15636 # Enshrouded - Game 15637 # Enshrouded - Query Port ]; + interfaces.tailscale0 = { + allowedTCPPorts = [ + 3000 # Ride the Lightning + ]; + }; }; }; } diff --git a/nixos/users/albert/desktop.nix b/nixos/users/albert/desktop.nix index e633a152..b7299d82 100644 --- a/nixos/users/albert/desktop.nix +++ b/nixos/users/albert/desktop.nix @@ -6,9 +6,9 @@ pkgs.lutris pkgs.vlc pkgs-unstable.vintagestory - tor-browser - onionshare - onionshare-gui + pkgs.tor-browser + pkgs.onionshare + pkgs.onionshare-gui ]; programs.steam = {