Compare commits
No commits in common. "90ec5218f28ec52d3d44c9a213fd6ab518ecc5e2" and "787ae9af8ed181fb15f5b944f47f811514f554ea" have entirely different histories.
90ec5218f2
...
787ae9af8e
59
README.md
59
README.md
|
@ -18,55 +18,18 @@ dragnpkgs provides a set of nixos modules and a nixpkgs overlay containing custo
|
|||
}
|
||||
```
|
||||
|
||||
## documentation
|
||||
|
||||
documentation for options provided by dragnpkgs
|
||||
|
||||
|
||||
### [`services.ghidra-server`](./modules/ghidra-server)
|
||||
the shared project server for [ghidra](https://ghidra-sre.org)
|
||||
|
||||
example usage:
|
||||
```nix
|
||||
services.ghidra-server = {
|
||||
enable = true;
|
||||
host = "your.domain.or.ip";
|
||||
};
|
||||
```
|
||||
|
||||
#### services.ghidra-server.enable
|
||||
|
||||
enables the ghidra server service
|
||||
|
||||
#### services.ghidra-server.enableAdminCli
|
||||
|
||||
adds a system package for the CLI tool `ghidra-svrAdmin`, which allows anyone in the `ghidra` group
|
||||
to administer the server (this corresponds to the `server/svrAdmin` tool in the stock ghidra
|
||||
distribution)
|
||||
|
||||
#### services.ghidra-server.{package, jdkPackage} (`ghidra`, `openjdk17`)
|
||||
|
||||
allows overriding the ghidra package and jdk package used for the server
|
||||
|
||||
#### services.ghidra-server.host
|
||||
|
||||
the server hostname or IP; this is typically required (by java RMI) for correct operation
|
||||
|
||||
#### services.ghidra-server.basePort (`13100`)
|
||||
|
||||
the server will use 3 consecutive TCP ports starting from this port
|
||||
|
||||
#### services.ghidra-server.directory (`/var/lib/ghidra-server`)
|
||||
|
||||
the root directory for server files
|
||||
|
||||
#### services.ghidra-server.{user,group} (`ghidra`)
|
||||
|
||||
the service user and group
|
||||
|
||||
|
||||
### more coming soon(tm)
|
||||
## overview
|
||||
|
||||
- [ghidra server](./modules/ghidra-server): the shared project server for
|
||||
[ghidra](https://ghidra-sre.org)
|
||||
example usage:
|
||||
```nix
|
||||
services.ghidra-server = {
|
||||
enable = true;
|
||||
host = "your.domain.or.ip";
|
||||
};
|
||||
```
|
||||
- more coming soon(tm)
|
||||
|
||||
## licensing
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
with lib;
|
||||
let
|
||||
cfg = config.services.ghidra-server;
|
||||
adminCli = pkgs.callPackage ./cli.nix {
|
||||
adminCli = pkgs.callPackage ../../pkgs/ghidra-server-cli {
|
||||
inherit (cfg) package jdkPackage directory;
|
||||
};
|
||||
in {
|
||||
|
|
Loading…
Reference in New Issue