nix-config/modules/nix/ctf/ghidra.nix
smayzy 1e8525927c
All checks were successful
nix flake show / show-flake (push) Successful in 26s
add ghidra
2025-08-02 17:55:53 +02:00

21 lines
320 B
Nix

{
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 ];
};
}