2021-02-02 20:10:25 +01:00
|
|
|
{ nixpkgs, nixpkgs-unstable, nixpkgs-master, custom, hostname, rlib }:
|
|
|
|
{ config, lib, ... }:
|
2020-12-26 23:36:50 +01:00
|
|
|
{
|
2021-02-02 20:10:25 +01:00
|
|
|
home.packages = if hostname != "edge" then with custom; [
|
2020-12-26 23:36:50 +01:00
|
|
|
emacs
|
2021-02-02 20:10:25 +01:00
|
|
|
] else with nixpkgs; [ emacs ] ++ (with nixpkgs; [
|
2020-12-26 23:36:50 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|