Re-enable emacs server as separate nix expression
This commit is contained in:
parent
c722efbe9b
commit
3844517405
|
@ -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
10
home/emacs/server.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }: {
|
||||
imports = [ ./default.nix ];
|
||||
# Emacs server service
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
package = pkgs.emacs28NativeComp;
|
||||
defaultEditor = true;
|
||||
startWithUserSession = true;
|
||||
};
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
in {
|
||||
imports = [
|
||||
shellConfig
|
||||
../../home/emacs/server.nix
|
||||
../../home/git/personal.nix
|
||||
../../home/ssh/personal.nix
|
||||
../../home/tui
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue