This commit is contained in:
nat 2025-06-18 02:51:43 -04:00
parent d0ae6c0516
commit 49e68108ac
2 changed files with 14 additions and 13 deletions

13
emacs/emacs.nix Normal file
View file

@ -0,0 +1,13 @@
{ lib, pkgs, config, ... }:
{
programs.emacs =
let
emacsPath = ../emacs;
in {
enable = true;
extraConfig = "
(add-to-list 'load-path' \"${emacsPath}\")
(load \"beluga-mode.el\")
";
};
}

View file

@ -3,6 +3,7 @@
{ {
imports = [ imports = [
./sway/sway.nix ./sway/sway.nix
./emacs/emacs.nix
]; ];
home.username = "nat"; home.username = "nat";
@ -43,19 +44,6 @@
}; };
}; };
programs.emacs =
let
emacsPath = ./emacs;
in {
enable = true;
extraConfig = "
(add-to-list 'load-path' \"${emacsPath}\")
(load \"beluga-mode.el\")
";
};
home.sessionVariables = { home.sessionVariables = {
EDITOR = "kak"; EDITOR = "kak";
}; };