term/vterm: add nixos recipes to README
This commit is contained in:
parent
b07c047068
commit
0eeb6b5092
1 changed files with 19 additions and 0 deletions
|
@ -54,6 +54,25 @@ variable (=SPC h v system-configuration-options=).
|
||||||
+ Ubuntu or Debian users: ~apt-get install libvterm-dev~
|
+ Ubuntu or Debian users: ~apt-get install libvterm-dev~
|
||||||
+ ArchLinux or Manjaro: ~pacman -S libvterm~
|
+ ArchLinux or Manjaro: ~pacman -S libvterm~
|
||||||
+ MacOS: ~libvterm~
|
+ MacOS: ~libvterm~
|
||||||
|
+ NixOS:
|
||||||
|
|
||||||
|
#+BEGIN_SRC nix
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
# emacs # no need for this, the next line includes emacs
|
||||||
|
((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [
|
||||||
|
epkgs.emacs-libvterm
|
||||||
|
]))
|
||||||
|
];
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
Or for home-manager users:
|
||||||
|
|
||||||
|
#+BEGIN_SRC nix
|
||||||
|
programs.emacs = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = epkgs: [ epkgs.emacs-libvterm ];
|
||||||
|
};
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Compilation tools for vterm-module.so
|
** Compilation tools for vterm-module.so
|
||||||
When you first load vterm, it will compile =vterm-module.so= for you. For this
|
When you first load vterm, it will compile =vterm-module.so= for you. For this
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue