summary refs log tree commit diff
path: root/nixos/doc/manual/development
Commit message (Collapse)AuthorAge
* Merge pull request #162271 from Infinisil/warn-no-typeRobert Hensing2022-03-16
|\ | | | | Throw an error for options without a type
| * lib/options: Throw error for options without a typeJanne Heß2022-02-28
| | | | | | | | | | | | | | | | | | Makes all options rendered in the manual throw an error if they don't have a type specified. This is a follow-up to #76184 Co-Authored-By: Silvan Mosberger <contact@infinisil.com>
* | Merge pull request #154113 from pennae/systemd-escapingpennae2022-03-13
|\ \ | | | | | | nixos: add functions and documentation for escaping systemd Exec* directives
| * | nixos: add functions and documentation for escaping systemd Exec* directivespennae2022-03-12
| | | | | | | | | | | | | | | | | | | | | it's really easy to accidentally write the wrong systemd Exec* directive, ones that works most of the time but fails when users include systemd metacharacters in arguments that are interpolated into an Exec* directive. add a few functions analogous to escapeShellArg{,s} and some documentation on how and when to use them.
* | | nixos/switch-to-configuration: Fix reloading of stopped servicesJanne Heß2022-03-11
| | |
* | | nixos/switch-to-configuration: Ignore some unit keysJanne Heß2022-03-11
| | | | | | | | | | | | | | | Some unit keys don't need to restart the service to make them effective. Reduce the amount of service restarts by ignoring these keys
* | | lib.types.package: only call toDerivation when necessaryNaïm Favier2022-03-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current logic assumes that everything that isn't a derivation is a store path, but it can also be something that's *coercible* to a store path, like a flake input. Unnecessary uses of `lib.toDerivation` result in errors in pure evaluation mode when `builtins.storePath` is disabled. Also document what a `package` is.
* | | nixos/doc: improve wording in "Options Types" and "Option Declarations"Alexandru Scvortov2022-03-05
| | |
* | | nixos/switch-to-configuration: Document and test socket-activated servicesJanne Heß2022-03-03
| | |
* | | lib.types: Introduce `types.optionType`Silvan Mosberger2022-03-01
| |/ |/| | | | | | | | | This type correctly merges multiple option types together while also annotating them with file information. In a future commit this will be used for `_module.freeformType`
* | pkgs-lib: Implement settings format for ElixirMinijackson2022-02-28
| |
* | lib/types: Introduce types.raw for unprocessed valuesSilvan Mosberger2022-02-22
| |
* | Merge pull request #154694 from winterqt/nixos-test-log-docMaximilian Bosch2022-02-20
|\ \ | | | | | | nixos/doc: fix mention of reading test logs
| * | nixos/doc: fix mention of reading test logsWinter2022-01-11
| | |
* | | nixos/doc: Document the activation scriptJanne Heß2022-02-09
| | | | | | | | | | | | | | | This may be helpful to new module developers, curious users, and people who just need a reference without having to look at the implementation
* | | update docsMarijan Petričević2022-01-26
| | |
* | | Merge pull request #156503 from hercules-ci/nixos-add-system.build-optionsRobert Hensing2022-01-25
|\ \ \ | | | | | | | | nixos: Add `system.build.`{`toplevel`,`installBootLoader`}, improve error message
| * | | nixos/doc: Document types.uniqueRobert Hensing2022-01-24
| |/ /
* / / nixos/docs/option-declarations: Document mkEnableOption and mkPackageOptionAnselm Schüler2022-01-23
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squashed commit. These are the original commit messages: lib/option: Improve comment better comment Update documentation Updated nixos/doc/manual/development/options-declarations.md with info on mkEnableOption and mkPackageOption. Updated the comment on mkEnableOption in lib/options.nix remove trailing whitespace nixos/doc/option-declarations: Update IDs & formatting nixos/docs/option-declarations: Escape angle brackets Build DB from MD (Amended) Fix typo Co-authored-by: pennae <82953136+pennae@users.noreply.github.com> (Amended) Build DB from MD (again)
* | Merge pull request #146905 from Synthetica9/failure_modeJacek Galowicz2022-01-08
|\ \ | | | | | | nixos/test-driver: add polling_condition
| * | nixos/test-driver: add polling_conditionPatrick Hilhorst2022-01-01
| |/
* | Merge pull request #153273 from Synthetica9/passthru-driverInteractivePatrick Hilhorst2022-01-07
|\ \
| * | nixos/test-driver: also passthru driverInteractivePatrick Hilhorst2022-01-04
| |/
* / nixos/documentation: split options doc buildpennae2022-01-02
|/ | | | | | | | | | | | | | | | most modules can be evaluated for their documentation in a very restricted environment that doesn't include all of nixpkgs. this evaluation can then be cached and reused for subsequent builds, merging only documentation that has changed into the cached set. since nixos ships with a large number of modules of which only a few are used in any given config this can save evaluation a huge percentage of nixos options available in any given config. in tests of this caching, despite having to copy most of nixos/, saves about 80% of the time needed to build the system manual, or about two second on the machine used for testing. build time for a full system config shrank from 9.4s to 7.4s, while turning documentation off entirely shortened the build to 7.1s.
* nixosTest: Add xclip as example of stdout blockerRobert Hensing2021-11-06
|
* nixosTest: Document stdout waiting behaviorRobert Hensing2021-11-05
|
* nixos/test-runner: Fix execute() flakinessJanne Heß2021-10-28
| | | | | Instead of using the magic string, we now just base64-encode everything and check for a newline.
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* nixos: nixos/doc/manual/development/writing-modules.xml to CommonMarkBobby Rong2021-09-08
|
* nixos: nixos/doc/manual/devlopment/nixos-tests.xml to CommonMarkBobby Rong2021-09-08
|
* Merge pull request #129074 from bobby285271/pr11Jörg Thalheim2021-09-07
|\ | | | | nixos/doc: convert Chapter 57, 59, 60, 63 to CommonMark
| * nixos: nixos/doc/manual/development/writing-documentation.xml to CommonMarkBobby Rong2021-07-03
| |
| * nixos: nixos/doc/manual/development/testing-installer.xml to CommonMarkBobby Rong2021-07-03
| |
| * nixos: nixos/doc/manual/development/building-parts.xml to CommonMarkBobby Rong2021-07-03
| |
| * nixos: nixos/doc/manual/development/sources.xml to CommonMarkBobby Rong2021-07-03
| |
* | Merge pull request #129136 from bobby285271/pr14Jörg Thalheim2021-09-07
|\ \ | | | | | | nixos/doc: convert "Chapter 58. Writing NixOS Modules" to CommonMark
| * | nixos: nixos/doc/manual/development/settings-options.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/freeform-modules.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/replace-modules.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/importing-modules.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/meta-attributes.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/option-def.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/option-types.xml to CommonMarkBobby Rong2021-07-03
| | |
| * | nixos: nixos/doc/manual/development/option-declarations.xml to CommonMarkBobby Rong2021-07-03
| |/
* | Merge pull request #132583 from ↵Lassulus2021-08-17
|\ \ | | | | | | | | | | | | blaggacao/fix/soft-force-the-file-system-layout-for-boot-media nixos/boot-media: soft-force entire fs layout
| * | lib/modules: add mkImageMediaOverride docsDavid Arnold2021-08-05
| | |
* | | Merge pull request #125979 from ↵lewo2021-08-08
|\ \ \ | |/ / |/| | | | | | | | blaggacao/nixos-test-ref/03-normalse-the-python-entrypoint nixos/test-driver: normalize the python entrypoint
| * | nixos/tests/test-driver: normalise test driver entrypoint(s)David Arnold2021-08-05
| |/ | | | | | | | | | | | | | | | | Previously the driver was configured exclusively through convoluted environment variables. Now the driver's defaults are configured through env variables. Some additional concerns are in the github comments of this PR.
* / manuals: Describe how to link NixOS tests from packagesNiklas Hambüchen2021-07-27
|/
* nixos: nixos/doc/manual/development/running-nixos-tests-interactively.xml to ↵Bobby Rong2021-07-02
| | | | CommonMark