From 1790daa6a2bf21861190cbfa31ec3fa6ecba1375 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sat, 23 Sep 2023 09:28:03 +0200 Subject: [PATCH] fix: remove doom installation from activation, the user will install --- hosts/configuration.nix | 2 -- modules/editors/emacs/home.nix | 19 ------------------- 2 files changed, 21 deletions(-) diff --git a/hosts/configuration.nix b/hosts/configuration.nix index cab0d24..861b4b0 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -104,8 +104,6 @@ ''; }; - systemd.services."home-manager-${user}".serviceConfig.TimeoutStartSec = lib.mkForce "20m"; - nix = { # Nix Package Manager settings settings ={ auto-optimise-store = true; # Optimise syslinks diff --git a/modules/editors/emacs/home.nix b/modules/editors/emacs/home.nix index 8078bc9..308e44a 100644 --- a/modules/editors/emacs/home.nix +++ b/modules/editors/emacs/home.nix @@ -32,25 +32,6 @@ ]; }; - home.activation = { - installDoomEmacs = { - after = [ "writeBoundary" "createXdgUserDirectories" ]; - before = [ ]; - data = '' - EMACS="$HOME/.emacs.d" - - if [ ! -d "$EMACS" ]; then - ${pkgs.git}/bin/git clone https://github.com/hlissner/doom-emacs.git $EMACS - - bash -c "yes || true" | $EMACS/bin/doom install - - rm -rf $HOME/.doom.d - ln -s ${location}/modules/editors/emacs/doom.d $HOME/.doom.d - $EMACS/bin/doom sync - fi''; - }; - }; - home.packages = with pkgs; [ emacs-all-the-icons-fonts #binutils # for native comp -- 2.48.1