theres no way right?

This commit is contained in:
Sakooooo 2023-12-25 22:59:05 +04:00
parent 1ebd05c813
commit 3ec29bd109
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -27,18 +27,27 @@ in {
package = pkgs.emacsWithPackagesFromUsePackage {
config = ../../../../config/emacs/init.el;
package = pkgs.emacs-pgtk;
alwaysEnsure = true;
alwaysTangle = true;
};
};
users.users.sako.packages = with pkgs; [
# direnv
direnv
];
home-manager.users.sako.home.file.".emacs.d/dashboard.png" = {
enable = true;
source = ../../../../config/emacs/dashboard.png;
home-manager.users.${user} = {lib, ...}: {
home.file = {
".emacs".source = ../../../../config/emacs;
"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