nixos/pkgs/pkgsets/emacs/magit.nix

13 lines
204 B
Nix
Raw Permalink Normal View History

{ config, lib, ... }:
with lib;
mkIf (elem "emacs::magit" config.machine.pkgs) {
programs.emacs.init.usePackage.magit = {
enable = true;
bind = {
"C-c g" = "magit-status";
};
};
}