nixos-config/system/desktop/home-manager/doom-emacs.nix

22 lines
487 B
Nix
Raw Normal View History

2021-09-22 07:30:29 +02:00
{ 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")
'';
};
2021-09-25 11:13:10 +02:00
environment.systemPackages = [
pkgs.ripgrep
];
2021-09-22 07:30:29 +02:00
}