mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
22 lines
466 B
Nix
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;
|
|
};
|
|
};
|
|
}
|