Moved emacs to home manager config
This commit is contained in:
parent
9c895e9cc0
commit
4467239f01
7 changed files with 29 additions and 80 deletions
18
nixos/homes/kylekrein/emacs.nix
Normal file
18
nixos/homes/kylekrein/emacs.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue