feat(emacs): Install required emacs packages via Nix
This commit is contained in:
parent
9042d0a987
commit
95eedea9ac
2 changed files with 69 additions and 2 deletions
|
|
@ -3,6 +3,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let wallpapers = import ./pkgs/wallpapers.nix;
|
||||
emacs = import ./emacs.nix { inherit pkgs; };
|
||||
in {
|
||||
# Configure basic X-server stuff:
|
||||
services.xserver = {
|
||||
|
|
@ -23,8 +24,8 @@ in {
|
|||
services.xserver.windowManager.session = lib.singleton {
|
||||
name = "exwm";
|
||||
start = ''
|
||||
${pkgs.emacs}/bin/emacs --daemon -f exwm-enable
|
||||
emacsclient -c
|
||||
${emacs}/bin/emacs --daemon -f exwm-enable
|
||||
${emacs}/bin/emacsclient -c
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue