18 lines
431 B
Nix
18 lines
431 B
Nix
|
{ pkgs, ... }:
|
||
|
let
|
||
|
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
|
||
|
url = "https://github.com/vlaci/nix-doom-emacs/archive/master.tar.gz";
|
||
|
}) {
|
||
|
doomPrivateDir = ./doom.d;
|
||
|
# Directory containing your config.el init.el
|
||
|
# and packages.el files
|
||
|
};
|
||
|
in {
|
||
|
home-manager.users.mainUser = {
|
||
|
home.packages = [ doom-emacs ];
|
||
|
home.file.".emacs.d/init.el".text = ''
|
||
|
(load "default.el")
|
||
|
'';
|
||
|
};
|
||
|
}
|