This commit is contained in:
parent
923232aed9
commit
1e8525927c
6
modules/nix/ctf/default.nix
Normal file
6
modules/nix/ctf/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./ghidra.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
20
modules/nix/ctf/ghidra.nix
Normal file
20
modules/nix/ctf/ghidra.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -6,6 +6,7 @@
|
|||||||
./browser
|
./browser
|
||||||
./cad
|
./cad
|
||||||
./comm
|
./comm
|
||||||
|
./ctf
|
||||||
./de
|
./de
|
||||||
./displaymanager
|
./displaymanager
|
||||||
./ebook
|
./ebook
|
||||||
|
|||||||
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user