Fix namespace bug in emacs module
This commit is contained in:
@ -57,7 +57,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.sessionPath = [
|
home.sessionPath = [
|
||||||
"/home/${home.username}/.emacs.d/bin"
|
"/home/${config.home.username}/.emacs.d/bin"
|
||||||
];
|
];
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
@ -66,8 +66,8 @@ in {
|
|||||||
# If doom is enabled we want to clone the framework
|
# If doom is enabled we want to clone the framework
|
||||||
system.userActivationScripts = mkIf cfg.useDoom {
|
system.userActivationScripts = mkIf cfg.useDoom {
|
||||||
installDoomEmacs = ''
|
installDoomEmacs = ''
|
||||||
if [ ! -d "${home.homeDirectory}/.emacs.d" ]; then
|
if [ ! -d "${config.home.homeDirectory}/.emacs.d" ]; then
|
||||||
git clone --depth=1 --single-branch "https://github.com/doomemacs/doomemacs" "${home.homeDirectory}/.emacs.d"
|
git clone --depth=1 --single-branch "https://github.com/doomemacs/doomemacs" "${config.home.homeDirectory}/.emacs.d"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user