Don't manage Doom config with Nix
This commit is contained in:
parent
838fb30d39
commit
e8323e1fdc
3 changed files with 10 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, lib, fetchFromGitHub, ... }:
|
||||
{ pkgs, lib, config, configDir, fetchFromGitHub, ... }:
|
||||
|
||||
{
|
||||
programs.emacs.enable = true;
|
||||
|
@ -7,12 +7,10 @@
|
|||
if [ ! -d .emacs.d ]; then
|
||||
git clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d
|
||||
fi
|
||||
mkdir -p .doom.d
|
||||
ln -sf ${config.home.homeDirectory}/${configDir}/emacs/.doom.d/* .doom.d
|
||||
'';
|
||||
home.file = {
|
||||
".doom.d" = {
|
||||
source = ./.doom.d;
|
||||
recursive = true;
|
||||
};
|
||||
".emacs.d/everforest".source = pkgs.fetchFromGitHub {
|
||||
owner = "Theory-of-Everything";
|
||||
repo = "everforest-emacs";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue