diff --git a/common/users/homeModules/dev/cpp.nix b/common/users/homeModules/dev/cpp.nix index e2198c9..7f4ab84 100644 --- a/common/users/homeModules/dev/cpp.nix +++ b/common/users/homeModules/dev/cpp.nix @@ -1,23 +1,29 @@ -{pkgs, unstable, ...}: { - home = { - packages = with pkgs; [ - meson - autoPatchelfHook - cmake - # clang - libgcc - glib - bear - glibc - gdb - lldb_19 - unstable.llvmPackages_19.clang-tools - ]; - file = { - eslint_d_config = { - source = ../../../../dotfiles/eslintrc.json; - target = "./.config/.eslintrc.json"; - }; - }; +{ pkgs, unstable, ... }: +{ + home = { + packages = with pkgs; [ + meson + autoPatchelfHook + cmake + # clang + libgcc + glib + bear + glibc + gdb + lldb_19 + unstable.llvmPackages_19.clang-tools + ]; + file = { + eslint_d_config = { + source = ../../../../dotfiles/eslintrc.json; + target = "./.config/.eslintrc.json"; + }; + gdb_config = { + source = ../../../../dotfiles/gdb; + target = "./.config/gdb"; + recursive = true; + }; }; + }; } diff --git a/dotfiles/gdb/gdbinit b/dotfiles/gdb/gdbinit new file mode 100644 index 0000000..910710c --- /dev/null +++ b/dotfiles/gdb/gdbinit @@ -0,0 +1 @@ +set auto-load safe-path /