65 Commits

Author SHA1 Message Date
Johannes Kirschbauer ea3c357a82 doc: replace "in order to" with "to" (#523608) 2026-07-03 09:08:43 +00:00
Johannes Kirschbauer 66241985dc doc/treewide: replace "in order to" with "to"
Fixes a styleguide violation (doc/styleguide.md, "Filler Words and
Weak Phrases"). Release notes excluded.
2026-07-03 11:03:28 +02:00
Alexander Bantyev cf89258090 packer: add withPlugins (#529920) 2026-07-02 09:10:10 +00:00
Lin Jian 48dfaae2ac emacs: load the early-default library after early-init.el
emacs.pkgs.withPackages from Nixpkgs can be used to configure Emacs.
Its main functionality is to add extra Emacs lisp libraries.
By (ab)using a library named default, user configuration (init.el) can
also be added by it.

A natural extension[1] is to add early-init.el via
emacs.pkgs.withPackages.  With this patch, early-init.el can be added by
packaging it as a library named early-default.

The early-default library is similar to the default library except that
it is loaded right after early-init.el and is controlled by
inhibit-early-default-init.

[1]: https://github.com/nix-community/emacs-overlay/issues/532
2026-06-30 14:56:44 +08:00
José Luis Lafuente cd4f09c079 packer: add withPlugins 2026-06-23 13:29:29 +02:00
zowoq 07e2efea6e linux: add stable staging-nixos workflow (#525070) 2026-05-29 22:19:47 +00:00
zowoq 10056dd40d linux: add stable staging-nixos workflow
stable counterpart to https://github.com/NixOS/nixpkgs/commit/d28cc2a2f5922960861a0c3d08b7ef05cbd47694
2026-05-28 09:42:28 +10:00
Malix - Alix Brunet 5eebcdb3e1 treewide: update nix-darwin link 2026-05-27 20:26:42 +02:00
zowoq 2879caafcf linux_hardened: remove
isn't maintained to the standards people expect of kernels in nixpkgs
2026-04-04 13:51:50 +10:00
Ben Lovell 786876dc1e friction-graphics: init at 1.0.0-rc.3 2026-02-14 00:31:30 +01:00
Hythera 9e31aa9ff9 eclipses.plugins.*: set pname 2026-02-05 23:11:56 +01:00
quantenzitrone 8a977098d7 docs: remove references to the xorg namespace 2026-01-23 15:33:14 +01:00
Maximilian Bosch 208c4319f2 doc/linux: make it explicit that we do not accept new kernel flavors
So far, this rule was only a comment in the `linux-kernels.nix`[1],
better make it explicit in our manual.

[1] https://github.com/NixOS/nixpkgs/blob/f74c64bacf35f0be2c781de68afc2c84a8c54ea1/pkgs/top-level/linux-kernels.nix#L91
2025-12-22 16:15:42 +01:00
Aryeh Hillman 84a11ebe42 Update instructions for Nix remote builder connection
Clarify instructions for connecting to the default remote builder and add information on SSH access.
2025-10-30 15:54:32 -07:00
Maximilian Bosch 1965f3c77d linux: manual-config.nix -> build.nix
Since I started touching this subsystem, I found the name confusing
since this is the part where we actually compile the kernel and we have
a ready-to-use configuration.

The stated goal of the commit introducing it[1] is to provide a function
to

> make it possible to build a kernel with a user provided .config.

Considering that this is supposed to be a differentiation from other
build mechanisms and nowadays this is the only way to build kernels in
nixpkgs, I figured that `build.nix` is a better name.

`pkgs.linuxManualConfig` isn't renamed on purpose: Kloenk and I are
planning to do more involved work and it may become necessary to change
parts of the API. So asking users to do a migration now just to add
another one soon isn't worth it.

[1] bf7467cbb1
2025-10-24 18:06:29 +02:00
h7x4 ee52b9f087 nrfutil: 7.13.0 -> 8.1.1, package all installables
This commit introduces a `withExtensions` function, to allow for
downloading and using the other installable parts of nrfutil.

It also introduces support for aarch64-linux, as well as updating the
program.
2025-10-16 23:29:21 +09:00
Maximilian Bosch 9f95c2ace2 linux: new workflow for kernel changes
See https://github.com/NixOS/nixpkgs/issues/437208#issuecomment-3288623669
Depends on https://github.com/NixOS/org/pull/172

As documented below, the idea is to essentially group all changes
rebuilding all VM tests with kernel updates and merge them together into
`master` whenever the Linux kernels get updated.

This documents the workflow of updates in the nixpkgs manual. While at
it, I removed the README from the packages because

* it's horribly outdated
* I didn't even know it exists which confirms that its discoverability
  was very poor

and added the relevant portions into the nixpkgs manual as well.
2025-10-05 22:59:25 +02:00
Benjamin Sparks 3ffa8c3346 uv: add manual entry 2025-09-11 19:23:09 +02:00
Ben Siraphob cc5b731ed3 doc: fix typos 2025-08-27 11:46:26 -07:00
Maximilian Bosch dccb264578 linux: remove mentions of extraStructuredConfig & throw error
PR #431115 changed extraStructuredConfig to structuredExtraConfig to
follow the deprecation warning about `extraConfig`. However,
`extraStructuredConfig` was mentioned in several places in the docs that
weren't addressed. Also, using this would silently fail since the code
in question would still accept the old key.

This patch updates the docs accordingly and throws an error if the
code-path is reached and `extraStructuredConfig` is being used.
2025-08-10 14:10:50 +02:00
Wolfgang Walther 62fe016519 treewide: run treefmt with mdcr/nixfmt 2025-07-24 13:52:31 +02:00
Yifei Sun dbbf70e0a8 doc/packages/python-tree-sitter: fix typo 2025-06-29 13:43:25 +02:00
Niklas Hambüchen ee6c2bd2eb doc: Fix missing pre/post hooks everywhere 2025-05-24 13:22:41 +00:00
Matt Sturgeon 4c638c2735 doc/packages/treefmt: add option reference docs
Add a `treefmt.optionsDoc` passthru, which is included on the treefmt
section of the nixpkgs manual.

This generates reference docs for options declared in
`treefmt.evalConfig`.
2025-05-20 07:52:11 +02:00
Matt Sturgeon 301824d216 doc/packages/treefmt: add function reference docs
Add a `treefmt.functionsDoc` passthru, which is included on the treefmt
section of the nixpkgs manual.

This generates reference docs for functions defined in
`pkgs/by-name/tr/treefmt/lib.nix`, using `nixdoc`.
2025-05-20 07:52:11 +02:00
Matt Sturgeon fe586a5d59 doc/packages: add treefmt section 2025-05-20 07:52:11 +02:00
Wolfgang Walther d3842f26e8 doc/build-support: replace substituteAll with replaceVars 2025-04-23 23:27:22 +02:00
Pol Dellaiera 30eb01e120 doc: remove useless rec 2025-04-21 07:02:49 +02:00
Pol Dellaiera bcea0cf344 doc: update Nix code snippets format
Command: `mdcr --config doc/tests/mdcr-config.toml doc/`
2025-04-17 01:30:34 +02:00
Adrien Faure a9cf0041df doc/packages/python-tree-sitter: add documentation 2025-04-02 08:31:10 +01:00
tropf f2e0c05a46 doc: add section on inkscape plugins 2025-03-19 18:05:42 +01:00
K900 5da892d21c mesa: output cleanup, part 2
- build with out-of-tree libgbm
- $drivers -> $out, since $out is basically empty now
2025-03-11 22:16:23 +03:00
Adam Dinwoodie a46eb8266a doc/packages/build-support: remove stray backtick
This corrects a start/end error in the formatting of code in one of the
examples.
2024-12-31 19:29:43 +00:00
Wolfgang Walther 1dd9c32b18 docs: remove references before 22.11
Stuff that has been in for many years doesn't need to be mentioned
explicitly anymore.
2024-11-17 12:51:09 +01:00
Robert Hensing 1d76033154 Rename nixos/modules/profiles/{macos-builder.nix -> nix-builder-vm.nix} 2024-10-08 10:27:11 +02:00
nicoo 19cf0942e3 doc: update all fetchurl invocations with a hash in SRI format 2024-09-17 10:47:31 +02:00
Tomodachi94 1e71925b95 doc/packages/lhapdf: add documentation
This documents:
* The existence of the `lhapdf` package (not particularly important)
* The existence of the `lhapdf.pdf_sets` attrset (important)
* The setup hook used in all of the entries in `lhapdf.pdf_sets`
  (slightly important)

Part of #341479.
2024-09-13 23:18:10 -07:00
Tomodachi94 cfe30e5950 doc/packages/geant4: add documentation
This documents:
* The `geant4.data` attrset introduced in #39514
* The setup hook for geant4
* The setup hook for the geant4.data packages

I also added a brief description of what Geant4 is.

Part of #341479
2024-09-13 21:01:35 -07:00
Nathan Henrie f5f24cdb58 doc: add documentation for pkgs.{substitute,substituteAll,substituteAllFiles}
Fixes https://github.com/NixOS/nixpkgs/issues/65252
2024-08-21 20:11:02 +02:00
h7x4 cce9bb28dc doc/packages/vcpkg: init 2024-07-17 09:26:15 +02:00
GY bcc7eff2c5 nixos/input-method: deprecate .enabled option; add .type and .enable options
This commit introduces two new properties:
`enable` and `type`, to replace the `enabled` property.
`enable` has the same meaning as is common across nixpkgs.
`type` has the same meaning as the existing `enabled` property.
`enabled` property is now deprecated and will be removed in a future release.

Fixes #180654
2024-07-12 03:59:20 -04:00
Jdogzz bca30eb509 doc: remove outdated Steam documentation related to Java
Fixes #297694.
2024-06-25 19:27:58 -07:00
Pankaj Raghav 7ce0c7abf8 doc: use linuxPackages_custom instead of linuxManualConfig (#319046)
linuxManualConfig involves more boilerplate to change the kernel. Use
the wrapper linuxPackages_custom which is wrapper that takes an
attribute sets and calls linuxManualConfig approrpriately.

This is much easier for beginners to use instead of linuxManualConfig
helper.

Point to linuxManualConfig for further customizations.
2024-06-11 23:21:58 +02:00
Sandro Jäckel 104f24e0b9 Revert "doc: replace fzf-share mention with sk-share from Skim package"
This reverts commit de5b2ef096.
2024-04-11 15:08:51 +02:00
Mario Rodas 5d58ded833 Merge pull request #298692 from SebTM/auto-update/fzf
fzf: 0.47.0 -> 0.48.1
2024-04-07 14:42:45 -05:00
Peder Bergebakken Sundt 0e4bf5608f Merge pull request #285177 from lelgenio/krita-plugin-gmic-package
krita: wrap with plugins, krita-plugin-gmic init at 3.2.4.1
2024-04-07 21:42:25 +02:00
lelgenio 1816172445 doc: add krita plugins section 2024-04-07 02:12:36 -03:00
Mario Rodas de5b2ef096 doc: replace fzf-share mention with sk-share from Skim package
`fzf-share` was removed
2024-04-07 04:20:00 +00:00
Janne Heß fcc95ff817 treewide: Fix all Nix ASTs in all markdown files
This allows for correct highlighting and maybe future automatic
formatting. The AST was verified to work with nixfmt only.
2024-03-28 09:28:12 +01:00
Janne Heß bc77c7a973 treewide: Mark Nix blocks in markdown as Nix
This should help us with highlighting and future formatting.
2024-03-28 09:28:12 +01:00