theres no way right?
This commit is contained in:
parent
1ebd05c813
commit
3ec29bd109
1 changed files with 14 additions and 5 deletions
|
@ -27,18 +27,27 @@ 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;
|
||||||
alwaysEnsure = true;
|
|
||||||
alwaysTangle = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
users.users.sako.packages = with pkgs; [
|
users.users.sako.packages = with pkgs; [
|
||||||
# direnv
|
# direnv
|
||||||
direnv
|
direnv
|
||||||
];
|
];
|
||||||
home-manager.users.sako.home.file.".emacs.d/dashboard.png" = {
|
|
||||||
enable = true;
|
home-manager.users.${user} = {lib, ...}: {
|
||||||
source = ../../../../config/emacs/dashboard.png;
|
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; [
|
fonts.packages = with pkgs; [
|
||||||
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
(nerdfonts.override {fonts = ["JetBrainsMono"];})
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
|
Loading…
Reference in a new issue