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

22 lines
466 B
Nix
Raw Normal View History

{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
{ config, lib, ... }:
{
home.packages = if hostname != "edge" then with custom; [
emacs
] else with nixpkgs; [ 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;
};
};
}