nix-config/home/gdb/default.nix
Bruno BELANYI a48303e66d
All checks were successful
continuous-integration/drone/push Build is passing
home: add gdb
2021-08-20 20:03:51 +02:00

18 lines
304 B
Nix

{ config, lib, pkgs, ... }:
let
cfg = config.my.home.gdb;
in
{
options.my.home.gdb = with lib; {
enable = my.mkDisableOption "gdb configuration";
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
gdb
];
xdg.configFile."gdb/gdbinit".source = ./gdbinit;
};
}