nixos/pkgs/pkgsets/emacs/magit.nix

12 lines
204 B
Nix

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