From 8fa9b158e9c85a6367f8f8ff09e7aa01f1794942 Mon Sep 17 00:00:00 2001 From: ChUrl Date: Fri, 1 Jul 2022 16:04:49 +0200 Subject: [PATCH] Fix namespace bug in emacs module --- home/modules/emacs.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home/modules/emacs.nix b/home/modules/emacs.nix index 55370a19..7ef8a925 100644 --- a/home/modules/emacs.nix +++ b/home/modules/emacs.nix @@ -57,7 +57,7 @@ in { }; home.sessionPath = [ - "/home/${home.username}/.emacs.d/bin" + "/home/${config.home.username}/.emacs.d/bin" ]; # TODO: @@ -66,8 +66,8 @@ in { # If doom is enabled we want to clone the framework system.userActivationScripts = mkIf cfg.useDoom { installDoomEmacs = '' - if [ ! -d "${home.homeDirectory}/.emacs.d" ]; then - git clone --depth=1 --single-branch "https://github.com/doomemacs/doomemacs" "${home.homeDirectory}/.emacs.d" + if [ ! -d "${config.home.homeDirectory}/.emacs.d" ]; then + git clone --depth=1 --single-branch "https://github.com/doomemacs/doomemacs" "${config.home.homeDirectory}/.emacs.d" fi ''; };