Re-enable emacs server as separate nix expression

This commit is contained in:
Evie Litherland-Smith 2023-07-31 14:46:48 +01:00
parent c722efbe9b
commit 3844517405
4 changed files with 13 additions and 11 deletions

View file

@ -1,13 +1,4 @@
{ pkgs, ... }:
{
# Emacs server service
services.emacs = {
enable = false;
package = pkgs.emacs28NativeComp;
defaultEditor = true;
startWithUserSession = false;
};
{ pkgs, ... }: {
home.packages = with pkgs; [
# Emacs dependencies
emacs28NativeComp

10
home/emacs/server.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }: {
imports = [ ./default.nix ];
# Emacs server service
services.emacs = {
enable = true;
package = pkgs.emacs28NativeComp;
defaultEditor = true;
startWithUserSession = true;
};
}

View file

@ -4,6 +4,7 @@
in {
imports = [
shellConfig
../../home/emacs/server.nix
../../home/git/personal.nix
../../home/ssh/personal.nix
../../home/tui

View file

@ -11,11 +11,11 @@ let
in {
imports = [
shellConfig
../../home/emacs/server.nix
../../home/git/work.nix
../../home/ssh/work.nix
../../home/tui
../../home/hyprland
../../home/emacs
../../home/wezterm
];
home = {