Re-enable emacs server as separate nix expression
This commit is contained in:
parent
c722efbe9b
commit
3844517405
|
@ -1,13 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
{
|
|
||||||
# Emacs server service
|
|
||||||
services.emacs = {
|
|
||||||
enable = false;
|
|
||||||
package = pkgs.emacs28NativeComp;
|
|
||||||
defaultEditor = true;
|
|
||||||
startWithUserSession = false;
|
|
||||||
};
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# Emacs dependencies
|
# Emacs dependencies
|
||||||
emacs28NativeComp
|
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 {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
shellConfig
|
shellConfig
|
||||||
|
../../home/emacs/server.nix
|
||||||
../../home/git/personal.nix
|
../../home/git/personal.nix
|
||||||
../../home/ssh/personal.nix
|
../../home/ssh/personal.nix
|
||||||
../../home/tui
|
../../home/tui
|
||||||
|
|
|
@ -11,11 +11,11 @@ let
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
shellConfig
|
shellConfig
|
||||||
|
../../home/emacs/server.nix
|
||||||
../../home/git/work.nix
|
../../home/git/work.nix
|
||||||
../../home/ssh/work.nix
|
../../home/ssh/work.nix
|
||||||
../../home/tui
|
../../home/tui
|
||||||
../../home/hyprland
|
../../home/hyprland
|
||||||
../../home/emacs
|
|
||||||
../../home/wezterm
|
../../home/wezterm
|
||||||
];
|
];
|
||||||
home = {
|
home = {
|
||||||
|
|
Loading…
Reference in a new issue