nixos-config/system/desktop/home-manager/doom-emacs.nix
2021-09-25 11:13:10 +02:00

21 lines
487 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")
'';
};
environment.systemPackages = [
pkgs.ripgrep
];
}