Add vterm to emacs
This commit is contained in:
parent
269679ac52
commit
765388dcf0
|
@ -1,10 +1,16 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
with pkgs;
|
||||||
|
|
||||||
|
let
|
||||||
|
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
|
||||||
|
(epkgs: with epkgs; [ vterm ]));
|
||||||
|
|
||||||
|
in {
|
||||||
# Upgrade Doom Emacs daily
|
# Upgrade Doom Emacs daily
|
||||||
systemd.user.services.doom-upgrade = {
|
systemd.user.services.doom-upgrade = {
|
||||||
description = "Upgrade Doom Emacs";
|
description = "Upgrade Doom Emacs";
|
||||||
path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
|
path = [ bash emacs-vterm git coreutils ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade"
|
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y upgrade"
|
||||||
'';
|
'';
|
||||||
|
@ -15,7 +21,7 @@
|
||||||
# Clean up Doom Emacs monthly
|
# Clean up Doom Emacs monthly
|
||||||
systemd.user.services.doom-purge = {
|
systemd.user.services.doom-purge = {
|
||||||
description = "Purge Doom Emacs";
|
description = "Purge Doom Emacs";
|
||||||
path = with pkgs; [ bash emacsPgtkGcc git coreutils ];
|
path = [ bash emacs-vterm git coreutils ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge"
|
${pkgs.bash}/bin/bash -c "/home/coolneng/.emacs.d/bin/doom -y purge"
|
||||||
'';
|
'';
|
||||||
|
@ -45,7 +51,7 @@
|
||||||
systemd.user.services.goimapnotify-uni = {
|
systemd.user.services.goimapnotify-uni = {
|
||||||
description = "Sync uni mail using IMAP IDLE";
|
description = "Sync uni mail using IMAP IDLE";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = with pkgs; [ goimapnotify pass-wayland isync notmuch ];
|
path = [ goimapnotify pass-wayland isync notmuch ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/uni.conf
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/uni.conf
|
||||||
'';
|
'';
|
||||||
|
@ -60,7 +66,7 @@
|
||||||
systemd.user.services.goimapnotify-gmail = {
|
systemd.user.services.goimapnotify-gmail = {
|
||||||
description = "Sync gmail mail using IMAP IDLE";
|
description = "Sync gmail mail using IMAP IDLE";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = with pkgs; [ goimapnotify pass-wayland isync notmuch ];
|
path = [ goimapnotify pass-wayland isync notmuch ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
${pkgs.goimapnotify}/bin/goimapnotify -conf /home/coolneng/.config/goimapnotify/gmail.conf
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -1,7 +1,13 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
with pkgs;
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
|
let
|
||||||
|
emacs-vterm = ((emacsPackagesNgGen emacsPgtkGcc).emacsWithPackages
|
||||||
|
(epkgs: with epkgs; [ vterm ]));
|
||||||
|
|
||||||
|
in {
|
||||||
|
environment.systemPackages = [
|
||||||
# Monitoring
|
# Monitoring
|
||||||
htop
|
htop
|
||||||
acpi
|
acpi
|
||||||
|
@ -18,7 +24,7 @@
|
||||||
pandoc
|
pandoc
|
||||||
# Text editors
|
# Text editors
|
||||||
neovim
|
neovim
|
||||||
emacsPgtkGcc
|
emacs-vterm
|
||||||
ripgrep
|
ripgrep
|
||||||
fd
|
fd
|
||||||
clang
|
clang
|
||||||
|
|
Loading…
Reference in New Issue