Emacs: Difference between revisions

imported>Appetrosyan
m Added warning
imported>Mic92
link to nix-doom-emacs
Line 13: Line 13:
* potential for reproducible portable literate configurations
* potential for reproducible portable literate configurations


{{tip|Emacs, much like NixOS can rebuild and re-fetch all of its packages based on its initialisation file alone, if one chooses to use an extension called {{ic|(use-package)}}. Such a configuration file can be version controlled and used in all compatible operating systems.}}  
{{tip|Emacs, much like NixOS can rebuild and re-fetch all of its packages based on its initialization file alone, if one chooses to use an extension called {{ic|(use-package)}}. Such a configuration file can be version controlled and used in all compatible operating systems.}}  
{{warning| Certain issues are possible, when mixing different versions of Emacs, in particular a configuration file tailored towards emacs with native compilation, may misbehave on non-native compiling versions, unless only the emacs lisp code is shared between them.}}
{{warning| Certain issues are possible, when mixing different versions of Emacs, in particular a configuration file tailored towards emacs with native compilation, may misbehave on non-native compiling versions, unless only the emacs lisp code is shared between them.}}


Line 46: Line 46:
}
}
</nowiki>}}
</nowiki>}}
=== Doom Emacs ===
The [https://github.com/hlissner/doom-emacs Doom Emacs] project provides a framework with a better default configuration and modules for different programming languages. Since it uses pinning in its configuration for dependencies, it is possible to package Doom Emacs with nix (see [https://github.com/vlaci/nix-doom-emacs nix-doom-emacs])


[[Category:NixOS]]
[[Category:NixOS]]
[[Category:Incomplete]]
[[Category:Incomplete]]