nixos/pkgsets/emacs/magit.nix

15 lines
224 B
Nix
Raw Normal View History

2023-09-11 20:23:04 +02:00
{
config,
lib,
...
}:
with lib;
2023-09-11 20:23:04 +02:00
mkIf (elem "emacs::magit" config.machine.pkgs) {
programs.emacs.init.usePackage.magit = {
enable = true;
bind = {
"C-c m" = "magit-status";
};
};
2023-09-11 20:23:04 +02:00
}