From e174c25353222f8f8fdf802206a904481f19d872 Mon Sep 17 00:00:00 2001 From: cy Date: Tue, 27 May 2025 11:28:57 -0400 Subject: [PATCH] install ghidra as nixos option --- home/yt/ytnix.nix | 1 - hosts/ytnix/default.nix | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/home/yt/ytnix.nix b/home/yt/ytnix.nix index d97e4bf..b81e3e3 100644 --- a/home/yt/ytnix.nix +++ b/home/yt/ytnix.nix @@ -57,7 +57,6 @@ gdb fuzzel hugo - ghidra sccache awscli2 p7zip diff --git a/hosts/ytnix/default.nix b/hosts/ytnix/default.nix index 1cbc5c1..f5ff1bc 100644 --- a/hosts/ytnix/default.nix +++ b/hosts/ytnix/default.nix @@ -94,6 +94,9 @@ trustedInterfaces = [ "tailscale0" ]; + extraInputRules = '' + ip saddr 192.168.100.0/24 tcp dport 9234 accept + ''; }; hosts = { "100.122.132.30" = [ "s3.cy7.sh" ]; @@ -417,4 +420,12 @@ wl-clipboard ]; }; + + programs.ghidra = { + enable = true; + package = pkgs.ghidra.withExtensions (p: with p; [ + findcrypt + ret-sync + ]); + }; }