diff --git a/nixos/modules/services/editors/emacs.xml b/nixos/modules/services/editors/emacs.xml
index 7f2ad3eb447a..d0e781e67865 100644
--- a/nixos/modules/services/editors/emacs.xml
+++ b/nixos/modules/services/editors/emacs.xml
@@ -251,15 +251,13 @@ in
The list of available packages in the various ELPA repositories can be seen
with the following commands:
-
- Querying Emacs packages
+ " -qaP -A emacs.pkgs.elpaPackages
nix-env -f "" -qaP -A emacs.pkgs.melpaPackages
nix-env -f "" -qaP -A emacs.pkgs.melpaStablePackages
nix-env -f "" -qaP -A emacs.pkgs.orgPackages
]]>
-
@@ -267,8 +265,7 @@ nix-env -f "" -qaP -A emacs.pkgs.orgPackages
adding it to the list of system packages (see
). Simply modify your file
configuration.nix to make it contain:
-
- Custom Emacs in configuration.nix
+ " -qaP -A emacs.pkgs.orgPackages
];
}
]]>
-
@@ -296,8 +292,7 @@ https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
~/.config/nixpkgs/config.nix (see
Nixpkgs
manual):
-
- Custom Emacs in ~/.config/nixpkgs/config.nix
+
-
@@ -327,8 +321,7 @@ https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
emacs.nix in this way:
-
- Custom Emacs build
+ {} }:
let
@@ -345,7 +338,6 @@ let
});
in [...]
]]>
-
After building this file as shown in , you
@@ -483,8 +475,7 @@ systemctl --user enable emacs
The Emacs init file should be changed to load the extension packages at
startup:
-
- Package initialization in .emacs
+
-
@@ -556,8 +546,7 @@ systemctl --user enable emacs
Then customize the variable rng-schema-locating-files to
include ~/.emacs.d/schemas.xml and put the following
text into that file:
-
- nXML Schema Configuration (~/.emacs.d/schemas.xml)
+
]]>
-