home-manager spacemacs activation script

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2021-12-22 12:38:38 -05:00
parent c85269f73f
commit b559f9df8c
1 changed files with 7 additions and 0 deletions

View File

@ -30,4 +30,11 @@ in
'';
executable = true;
};
home.activation.spacemacs = ''
if [ ! -d "$HOME/.emacs.d" ]; then
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
systemctl --user restart emacs
fi
'';
}