home/natto/emacs: add direnv and misc changes

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2022-12-05 14:39:27 +05:30
parent df682cdebe
commit eac8edecd9
5 changed files with 16 additions and 6 deletions

View File

@@ -4,15 +4,15 @@
, fetchurl
, fetchFromGitHub
, emacsNativeComp
, conf ? null
, config ? null
, package ? emacsNativeComp
, ...
}:
assert (conf != null);
assert (config != null);
emacsWithPackagesFromUsePackage {
config = conf;
package = emacsNativeComp;
inherit config package;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages = epkgs: with epkgs; [

View File

@@ -5,7 +5,7 @@ let
mpd_discord_richpresence = call ./mpd-rpc { };
customscripts = call ./customscripts { };
gruvbox-icons = call ./gruvbox-icons { };
mymacs = c: call ./emacs { conf = c; };
mymacs = call ./emacs { };
tlauncher = call ./tlauncher { };
simp1e-cursors = call ./simp1e { };
}