This commit is contained in:
Janis 2025-07-24 01:35:16 +02:00
parent 74c31849c4
commit 07f0061252
2 changed files with 44 additions and 0 deletions

View file

@ -11,6 +11,7 @@ in {
./rofi.nix
./libinput.nix
./git-ssh.nix
./emacs.nix
];
fonts.fontconfig.enable = true;

43
home/emacs.nix Normal file
View file

@ -0,0 +1,43 @@
# home-manager configuration for Emacs
{lib, pkgs, ...}:
let
# emacs-config = lib.mkDerivation {
# pname = "emacs-config";
# version = "1.0";
# src = builtins.fetchGit {
# url = "git@git.nirgendwo.xyz:janis/dot-emacs.git";
# ref = "main";
# rev = "ac3c35f358";
# };
# buildInputs = [ pkgs.emacs ];
# installPhase = ''
# runHook preInstall
# mkdir -p $out/share/emacs.d/
# cp -r * $out/share/emacs.d
# runHook postInstall
# '';
# };
# emacs-config-pkg = pkgs.callPackage emacs-config { };
emacs-config = builtins.fetchGit {
url = "git@git.nirgendwo.xyz:janis/dot-emacs.git";
ref = "main";
rev = "ac3c35f358";
};
in {
home.packages = with pkgs; [
emacs
enchant # spell checking
ripgrep # for Emacs' ripgrep integration
libvterm-neovim # vterm support for Emacs
];
xdg.configFile = {
"emacs" = {
source = emacs-config;
};
};
}