nixos/pkgsets/emacs/direnv.nix

13 lines
284 B
Nix
Raw Normal View History

2023-04-15 14:00:08 +02:00
{ config, lib, pkgs, ... }:
with lib;
mkIf (elem "emacs::direnv" config.machine.pkgs) {
programs.emacs.init.usePackage.direnv = {
enable = true;
config = ''(direnv-mode)'';
};
services.lorri.enable = true;
environment.systemPackages = with pkgs; [ lorri direnv ];
}