Re-enable emacs server
Add more explicit default.nix definitions
This commit is contained in:
parent
4e720929da
commit
2f69cb4c57
|
@ -2,16 +2,16 @@
|
|||
|
||||
{
|
||||
imports = [
|
||||
./pass
|
||||
./git
|
||||
./ssh
|
||||
./tui
|
||||
./tmux
|
||||
./hyprland
|
||||
./alacritty
|
||||
./firefox
|
||||
./zathura
|
||||
./emacs
|
||||
./pass/default.nix
|
||||
./git/default.nix
|
||||
./ssh/default.nix
|
||||
./tui/default.nix
|
||||
./tmux/default.nix
|
||||
./hyprland/default.nix
|
||||
./alacritty/default.nix
|
||||
./firefox/default.nix
|
||||
./zathura/default.nix
|
||||
./emacs/server.nix
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
bitwarden
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [ ../git ];
|
||||
imports = [ ../git/default.nix ];
|
||||
programs.emacs.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
# Emacs dependencies
|
||||
|
|
12
home/emacs/server.nix
Normal file
12
home/emacs/server.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./default.nix ];
|
||||
services.emacs = {
|
||||
enable = true;
|
||||
package = config.programs.emacs.package;
|
||||
defaultEditor = true;
|
||||
client.enable = true;
|
||||
socketActivation.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue