Bruno BELANYI
a48303e66d
All checks were successful
continuous-integration/drone/push Build is passing
18 lines
304 B
Nix
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;
|
|
};
|
|
}
|