diff --git a/modules/dev/editors/emacs/default.nix b/modules/dev/editors/emacs/default.nix index 4d61826f..70125225 100644 --- a/modules/dev/editors/emacs/default.nix +++ b/modules/dev/editors/emacs/default.nix @@ -27,6 +27,7 @@ in { package = pkgs.emacsWithPackagesFromUsePackage { config = ../../../../config/emacs/init.el; package = pkgs.emacs-pgtk; + defaultInitFile = true; }; }; users.users.sako.packages = with pkgs; [ @@ -34,20 +35,6 @@ in { direnv ]; - home-manager.users.sako = {lib, ...}: { - home.file = { - ".emacs.d".source = ../../../../config/emacs; - ".emacs.d/init.el".source = pkgs.runCommand "init.el" {} '' - cp ${../../../../config/emacs/emacs.org} emacs.org - ${pkgs.emacs}/bin/emacs -Q --batch ./emacs.org -f org-babel-tangle - mv init.el $out - ''; - - # Create the auto-saves directory - # ".emacs.d/auto-saves/.manage-directory".text = ""; - }; - }; - fonts.packages = with pkgs; [ (nerdfonts.override {fonts = ["JetBrainsMono"];}) jetbrains-mono