@@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./ghidra.nix
|
||||
];
|
||||
}
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user