Install spacemacs

This commit is contained in:
Kiana Sheibani 2022-04-10 16:15:13 -04:00
parent 19b450eca9
commit 01762d4283
5 changed files with 34 additions and 2 deletions

View file

@ -25,6 +25,7 @@ in {
slurp
imv
emacs
direnv
nix-direnv-with-flakes
];

View file

@ -3,7 +3,7 @@
home.username = username;
home.homeDirectory = "/home/" + username;
imports = [ ./shell ./wayland ];
imports = [ ./shell ./wayland ./spacemacs.nix ];
xdg.enable = true;
xdg.userDirs.enable = true;

View file

@ -0,0 +1,10 @@
{ config, pkgs, spacemacs, ... }:
{
# Set up spacemacs using local emacs config
home.file.".emacs.d" = {
recursive = true;
source = spacemacs;
};
}