🐃 manage doom with nix
This commit is contained in:
parent
7a600de8f8
commit
711bf1f8a1
13
home.nix
13
home.nix
@ -39,6 +39,19 @@
|
||||
wakatime
|
||||
];
|
||||
|
||||
home.file.".doom.d" = {
|
||||
onChange = ''
|
||||
#!/bin/sh
|
||||
DOOM=$HOME/.emacs.d
|
||||
if [ ! -d $DOOM ]; then
|
||||
git clone --depth 1 https://github.com/hlissner/doom-emacs $DOOM
|
||||
fi
|
||||
$DOOM/bin/doom sync
|
||||
'';
|
||||
source = ./config/.doom.d;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
zsh = {
|
||||
enable = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user