This commit is contained in:
Sakooooo 2023-12-25 23:05:51 +04:00
parent a96cd21c9c
commit 9c7c620815
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -27,6 +27,7 @@ in {
package = pkgs.emacsWithPackagesFromUsePackage { package = pkgs.emacsWithPackagesFromUsePackage {
config = ../../../../config/emacs/init.el; config = ../../../../config/emacs/init.el;
package = pkgs.emacs-pgtk; package = pkgs.emacs-pgtk;
defaultInitFile = true;
}; };
}; };
users.users.sako.packages = with pkgs; [ users.users.sako.packages = with pkgs; [
@ -34,20 +35,6 @@ in {
direnv 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; [ fonts.packages = with pkgs; [
(nerdfonts.override {fonts = ["JetBrainsMono"];}) (nerdfonts.override {fonts = ["JetBrainsMono"];})
jetbrains-mono jetbrains-mono