1
0
Fork 0

Emacs add direnv mode.

This commit is contained in:
Kevin Baensch 2023-04-15 14:00:08 +02:00
parent 0cb7f9eb7f
commit 2445cc4e9d
Signed by: derped
GPG Key ID: C0F1D326C7626543
1 changed files with 12 additions and 0 deletions

12
pkgsets/emacs/direnv.nix Normal file
View File

@ -0,0 +1,12 @@
{ 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 ];
}