Emacs: Difference between revisions
imported>Yuu mNo edit summary |
imported>Yuu mNo edit summary |
||
Line 3: | Line 3: | ||
For reference use [https://nixos.org/nixos/manual/index.html#module-services-emacs the emacs chapter in the nixos manual]. | For reference use [https://nixos.org/nixos/manual/index.html#module-services-emacs the emacs chapter in the nixos manual]. | ||
= Installation = | == Installation == | ||
== Emacs overlay == | === Emacs overlay === | ||
As of July 2021, the Nix community offers [https://github.com/nix-community/emacs-overlay/blob/f177e5d14ad2e1edceb63f3ab8aa9748ebe6383c/default.nix#L104 7 variants of GNU Emacs] as overlays: emacsGit, emacsGcc, emacsPgtk, emacsPgtkGcc, emacsUnstable, emacsGit-nox, and emacsUnstable-nox. For installing one of them, add the following lines to {{ic|/etc/nixos/configuration.nix}} (replace emacsPgtkGcc with the variant of your choice). | As of July 2021, the Nix community offers [https://github.com/nix-community/emacs-overlay/blob/f177e5d14ad2e1edceb63f3ab8aa9748ebe6383c/default.nix#L104 7 variants of GNU Emacs] as overlays: emacsGit, emacsGcc, emacsPgtk, emacsPgtkGcc, emacsUnstable, emacsGit-nox, and emacsUnstable-nox. For installing one of them, add the following lines to {{ic|/etc/nixos/configuration.nix}} (replace emacsPgtkGcc with the variant of your choice). | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> |