Moved emacs to home manager config

This commit is contained in:
Aleksandr Lebedev 2025-07-25 23:42:39 +02:00
parent 9c895e9cc0
commit 4467239f01
7 changed files with 29 additions and 80 deletions

View file

@ -0,0 +1,18 @@
{
hwconfig,
inputs,
...
}: let
emacs = inputs.emacs-kylekrein.packages.${hwconfig.system}.with-lsps;
in {
programs.emacs = {
enable = true;
package = emacs;
};
services.emacs = {
enable = true;
package = emacs;
startWithUserSession = true;
client.enable = true;
};
}

View file

@ -20,6 +20,7 @@
imports = [
./waybar
./hyprlock.nix
./emacs.nix
];
home.packages = with pkgs;
[
@ -99,12 +100,12 @@
"${../../modules/hyprland/wallpaper.jpg}"
];
}
{
command = [
"emacs"
"--daemon"
];
}
#{
# command = [
# "emacs"
# "--daemon"
# ];
#}
];
layout = {
preset-column-widths = [