forked from mirrors_public/oddlama_nix-config
chore: update fixes, add kanidm <-> firezone integration
This commit is contained in:
parent
605b6279ca
commit
be7e4d158c
22 changed files with 105 additions and 94 deletions
|
@ -1,29 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
let
|
||||
# pwndbg wraps a gdb binary for us, but we want debuginfod in there too.
|
||||
# Also make it the default gdb.
|
||||
pwndbgWithDebuginfod =
|
||||
(pkgs.pwndbg.override {
|
||||
gdb = pkgs.gdb.override {
|
||||
enableDebuginfod = true;
|
||||
};
|
||||
}).overrideAttrs
|
||||
(
|
||||
_finalAttrs: previousAttrs: {
|
||||
installPhase =
|
||||
previousAttrs.installPhase
|
||||
+ ''
|
||||
ln -s $out/bin/pwndbg $out/bin/gdb
|
||||
'';
|
||||
}
|
||||
);
|
||||
in
|
||||
{
|
||||
home.packages = [
|
||||
pwndbgWithDebuginfod
|
||||
pkgs.hotspot
|
||||
];
|
||||
|
||||
home.file.gdbinit = {
|
||||
target = ".gdbinit";
|
||||
text = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue