Remove emacs server, add doom to path
This commit is contained in:
parent
4e0bed434a
commit
4282e34bb2
|
@ -77,7 +77,7 @@
|
|||
homeModules = [
|
||||
./home/accounts/service.nix
|
||||
./home/alacritty/default.nix
|
||||
./home/emacs/server.nix
|
||||
./home/emacs/default.nix
|
||||
./home/firefox/default.nix
|
||||
./home/git/default.nix
|
||||
./home/hyprland/default.nix
|
||||
|
|
|
@ -1,17 +1,10 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
let
|
||||
sessionVariables = {
|
||||
DOOMLOCALDIR = "$HOME/.local/share/doomemacs";
|
||||
DOOMPROFILELOADFILE = "$HOME/.local/share/doomemacs/profiles/load.el";
|
||||
};
|
||||
in {
|
||||
imports = [ ../accounts/default.nix ../git/default.nix ];
|
||||
xdg.configFile.emacs.source = inputs.doom-emacs;
|
||||
systemd.user = { inherit sessionVariables; };
|
||||
|
||||
{
|
||||
# imports = [ ../accounts/default.nix ../git/default.nix ];
|
||||
programs.emacs.enable = true;
|
||||
home = {
|
||||
inherit sessionVariables;
|
||||
sessionPath = [ "${inputs.doom-emacs}/bin" ];
|
||||
sessionPath = [ "$HOME/.config/emacs/bin" "$HOME/.emacs.d/bin" ];
|
||||
packages = with pkgs; [
|
||||
# Emacs dependencies
|
||||
ripgrep
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./default.nix ];
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
package = config.programs.emacs.package;
|
||||
defaultEditor = true;
|
||||
client.enable = true;
|
||||
startWithUserSession = true;
|
||||
};
|
||||
}
|
|
@ -85,7 +85,7 @@
|
|||
bind = SUPER SHIFT, P, exec, pkill rofi || rofi -show power-menu
|
||||
|
||||
# Common program shortcuts
|
||||
bind = SUPER, E, exec, emacsclient -c -a 'emacs'
|
||||
bind = SUPER, E, exec, emacs
|
||||
bind = SUPER, B, exec, pkill rofi || rofi -show filebrowser
|
||||
bind = SUPER, Space, exec, pkill rofi || rofi -show combi
|
||||
bind = SUPER, Return, exec, alacritty
|
||||
|
|
Loading…
Reference in a new issue