15 lines
323 B
Nix
Executable File
15 lines
323 B
Nix
Executable File
{ pkgs, lib, config, namespace, ... }:
|
|
let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.${namespace}.programs.graphical.ghidra;
|
|
in
|
|
{
|
|
options.${namespace}.programs.graphical.ghidra = {
|
|
enable = mkEnableOption "Enable Ghidra";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [ ghidra ];
|
|
};
|
|
}
|