dotfiles/nix/home-manager/modules/emacs/default.nix
2021-02-28 18:14:01 +01:00

22 lines
466 B
Nix

{ 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;
};
};
}