dotfiles/nixos/home-manager/modules/emacs/default.nix

22 lines
400 B
Nix
Raw Normal View History

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom }:
{ config, lib, pkgs, ... }:
{
home.packages = with custom; [
emacs
] ++ (with nixpkgs; [
fira-code
]);
home.file = {
".emacs".source = ./.emacs;
".emacs.d/org" = {
source = ./.emacs.d/org;
recursive = true;
};
".emacs.d/lisp" = {
source = ./.emacs.d/lisp;
recursive = true;
};
};
}