add ghidra
All checks were successful
nix flake show / show-flake (push) Successful in 26s

This commit is contained in:
smayzy 2025-08-02 17:55:53 +02:00
parent 923232aed9
commit 1e8525927c
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,6 @@
{ ... }:
{
imports = [
./ghidra.nix
];
}

View File

@ -0,0 +1,20 @@
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.ghidra.enable = mkOption {
type = types.bool;
default = false;
description = "enable ghidra";
};
config = mkIf config.smayzy.ghidra.enable {
environment.systemPackages = with pkgs; [ ghidra ];
};
}

View File

@ -6,6 +6,7 @@
./browser ./browser
./cad ./cad
./comm ./comm
./ctf
./de ./de
./displaymanager ./displaymanager
./ebook ./ebook

View File

@ -48,6 +48,7 @@ in
tor.enable = true; tor.enable = true;
chromium.enable = true; chromium.enable = true;
desmume.enable = true; desmume.enable = true;
ghidra.enable = true;
}; };
}; };
} }