Add vterm to emacs

This commit is contained in:
2021-06-24 12:22:58 +02:00
parent 269679ac52
commit 765388dcf0
2 changed files with 20 additions and 8 deletions

View File

@@ -1,10 +1,16 @@
{ config, lib, pkgs, ... }:
{
with pkgs;
let
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
(epkgs: with epkgs; [ vterm ]));
in {
# Upgrade Doom Emacs daily
systemd.user.services.doom-upgrade = {
description = "Upgrade Doom Emacs";
path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
path = [ bash emacs-vterm git coreutils ];
script = ''
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade"
'';
@@ -15,7 +21,7 @@
# Clean up Doom Emacs monthly
systemd.user.services.doom-purge = {
description = "Purge Doom Emacs";
path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
path = [ bash emacs-vterm git coreutils ];
script = ''
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge"
'';
@@ -45,7 +51,7 @@
systemd.user.services.goimapnotify-uni = {
description = "Sync uni mail using IMAP IDLE";
wantedBy = [ "default.target" ];
path = with pkgs; [ goimapnotify pass-wayland isync notmuch ];
path = [ goimapnotify pass-wayland isync notmuch ];
script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/uni.conf
'';
@@ -60,7 +66,7 @@
systemd.user.services.goimapnotify-gmail = {
description = "Sync gmail mail using IMAP IDLE";
wantedBy = [ "default.target" ];
path = with pkgs; [ goimapnotify pass-wayland isync notmuch ];
path = [ goimapnotify pass-wayland isync notmuch ];
script = ''
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
'';