Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-12-22 | nixos/systemd: document what `scriptArgs` is for | Naïm Favier | 1 | -1/+5 | |
2022-12-17 | nixos: fix typos | figsoda | 1 | -1/+1 | |
2022-12-15 | lib.replaceChars: warn about being a deprecated alias | Artturin | 2 | -6/+6 | |
replaceStrings has been in nix since 2015(nix 1.10) so it is safe to remove the fallback https://github.com/nixos/nix/commit/d6d5885c1567454754a0d260521bafa0bd5e7fdb | |||||
2022-12-08 | nixos/make-options-doc: remove dead code | Naïm Favier | 1 | -82/+0 | |
The logic for pretty-printing Nix values isn't needed any more because `optionAttrSetToDocList` returns already rendered values. | |||||
2022-12-08 | nixos/doc: render option values using `lib.generators.toPretty` | Naïm Favier | 1 | -18/+1 | |
Render un`_type`d defaults and examples as `literalExpression`s using `lib.generators.toPretty` so that consumers don't have to reinvent Nix pretty-printing. `renderOptionValue` is kept internal for now intentionally. Make `toPretty` print floats as valid Nix values (without a tilde). Get rid of the now-obsolete `substSpecial` function. Move towards disallowing evaluation of packages in the manual by raising a warning on `pkgs.foo.{outPath,drvPath}`; later, this should throw an error. Instead, module authors should use `literalExpression` and `mkPackageOption`. | |||||
2022-12-07 | nixos/make-options-doc: improve CommonMark formatting | sandydoo | 1 | -2/+4 | |
Render the `type` attribute in a code block to match the rest of the attributes. | |||||
2022-12-07 | nixos/make-options-doc: pretty-print literals | sandydoo | 4 | -68/+112 | |
Unlike the XML doc renderer, the AsciiDoc and CommonMark renderers don't pretty-print certain complex types, like literal expressions, DocBook literals, and derivations. These types are dumped into the documentation as JSON. This commit parses and unwraps these types when loading the JSON-formatted NixOS options. The AsciiDoc and CommonMark renders have also been combined into a single script to allow code reuse. | |||||
2022-12-03 | Revert "nixos/lib: add /home to pathsNeededForBoot" | Artturi | 1 | -1/+1 | |
2022-12-01 | nixos/lib: add /home to pathsNeededForBoot | Lin Jian | 1 | -1/+1 | |
Before this patch, if we: 1. add a new user in the config, 2. mount /home seperately, 3. not set neededForBoot for /home, 4. and run `nixos-rebuild boot`, the newly added user's home will not be created after a reboot. This is because when nixos/modules/config/update-users-groups.pl is running in stage 2 to setup users, /home is not mounted. This patch fixes this issue. | |||||
2022-11-19 | test-driver: Allow configuring delay for send_{key,chars} | Zhaofeng Li | 1 | -4/+5 | |
2022-11-14 | Merge pull request #200646 from hercules-ci/options-markdown-and-errors | Robert Hensing | 2 | -8/+22 | |
`nixosOptionsDoc`: add `markdownByDefault`, error handling | |||||
2022-11-11 | nixos/lib/testing-python: remove unused `with pkgs;` | Andreas Rammhold | 1 | -3/+0 | |
This with statement has no users anymore and can safely be removed. | |||||
2022-11-11 | nixosOptionsDoc: Report in which option an error occurs | Robert Hensing | 1 | -11/+15 | |
2022-11-11 | nixosOptionsDoc: Add markdownByDefault parameter | Robert Hensing | 2 | -0/+10 | |
2022-11-05 | nixos options markdown: fix html escaping | Domen Kožar | 1 | -1/+1 | |
\<foo\> will often be displayed like \<foo>, for example by mkdocs. I've tested a number of markdown renderers and they render html escape sequences fine. | |||||
2022-11-02 | nixos/systemd-unit-options: document correct wantedBy default for user units ↵ | Jörg Thalheim | 1 | -14/+14 | |
(#199007) Until this commit, the documentation suggested `multi-user.target` as `wantedBy` for all services. Since `multi-user.target` is not available for user services, propose a different default for those in the documentation. Co-authored-by: Naïm Favier <n@monade.li> Co-authored-by: Florian Warzecha <liketechnik@disroot.org> | |||||
2022-10-28 | Merge pull request #186314 from ck3d/unit-add-map-control | Florian Klink | 2 | -11/+40 | |
nixos: Add option to influence override strategies in systemd units | |||||
2022-10-27 | nixos: Add unit option overrideStrategy | Christian Kögler | 2 | -11/+40 | |
2022-10-25 | nixos/make-options-doc: fix JSON generation on Darwin | Winter | 1 | -1/+5 | |
2022-10-23 | nixos/unitGenerator: fix generation for nspawn files | Christian Kögler | 1 | -3/+3 | |
2022-10-21 | Merge master into staging-next | github-actions[bot] | 1 | -5/+13 | |
2022-10-20 | nixos/lib.escapeSystemdPath: Implement the correct algorithm for escaping ↵ | Daniel Olsen | 1 | -5/+13 | |
names in systemd units Co-authored-by: ajs124 <git@ajs124.de> | |||||
2022-10-19 | Merge branch 'master' into staging-next | Jan Tojnar | 3 | -5/+11 | |
; Conflicts: ; pkgs/development/tools/codespell/default.nix codespell 2.2.2 switched to pyproject & setuptools_scm: https://github.com/codespell-project/codespell/pull/2523 | |||||
2022-10-18 | Merge pull request #196281 from hercules-ci/restore-nixos-test-dx | Robert Hensing | 2 | -3/+9 | |
nixos: Restore test DX | |||||
2022-10-18 | Merge pull request #194035 from Ma27/show-option-quoting | Robert Hensing | 1 | -2/+2 | |
lib/options/showOption: fix quoting of attr-names that are not identifiers | |||||
2022-10-16 | nixos/lib/testing: Delay nodes.machine.~config~ migration | Robert Hensing | 1 | -1/+1 | |
Provide a window during which both solutions are valid without warnings, in order to fight warning fatigue, and not to push 3rd party repo maintainers to add unnecessary compat code. | |||||
2022-10-16 | nixos/tests: Generalize nix-build file.nix hack to testing-python.nix | Robert Hensing | 1 | -2/+8 | |
2022-10-09 | Merge staging-next into staging | github-actions[bot] | 1 | -5/+9 | |
2022-10-09 | nixos/doc: fix build | Maximilian Bosch | 1 | -2/+2 | |
Now we even have options like `services.listmonk.database.settings."app.notify_emails"` shown correctly (i.e. with quotes). | |||||
2022-10-09 | genJqSecretsReplacementSnippet: Allow dots in attribute names... | talyz | 1 | -5/+9 | |
...and escape quotation marks and backslashes. | |||||
2022-10-07 | nixosOptionsDoc: buildInputs -> nativeBuildInputs | Artturin | 1 | -1/+1 | |
to make strictDepsByDefault work | |||||
2022-10-04 | Merge pull request #193498 from hercules-ci/nixos-doc-disambiguate-test-options | Robert Hensing | 6 | -11/+15 | |
nixos/doc: disambiguate test option ids | |||||
2022-10-04 | nixos/lib/qemu-common.nix: set qemuSerialDevice for isMips64 | Adam Joseph | 1 | -1/+1 | |
2022-10-01 | Merge pull request #193132 from figsoda/clean-up | figsoda | 2 | -16/+0 | |
treewide: clean up | |||||
2022-09-29 | nixos/doc: Disambiguate test option ids | Robert Hensing | 4 | -10/+10 | |
Changing this later on would break external links into the manual. | |||||
2022-09-29 | make-options-doc: Make optionIdPrefix configurable ("opt-") | Robert Hensing | 2 | -1/+5 | |
2022-09-29 | nixos/testing: Fix release.nix tests evaluation | Robert Hensing | 3 | -8/+4 | |
Fixes the problem introduced by 12b3066aae46a8ccc3d21f54f668a3f4be344332 which caused nixos/release.nix to return the wrong attributes, while intending to only affect nixos/lib's runTest. This also removes callTest from the test options, because callTest is only ever invoked by all-tests.nix. | |||||
2022-09-29 | Merge pull request #187817 from intelfx/nixos-containertarballs-fix-pixz | Franz Pletz | 1 | -1/+1 | |
make-system-tarball: use `pixz -t` | |||||
2022-09-28 | lib.nixos.runTest: Return the test itself | Robert Hensing | 1 | -1/+1 | |
(NB: the lib in the flake) Correcting a mistake I made when removing the test matrix code from https://github.com/NixOS/nixpkgs/pull/191540 | |||||
2022-09-28 | Merge pull request #191540 from hercules-ci/nixosTest-modular | Robert Hensing | 17 | -342/+789 | |
nixosTest: make modular | |||||
2022-09-26 | nixos/lib/make-single-disk-zfs-image.nix: remove unused binding | figsoda | 1 | -9/+0 | |
2022-09-26 | nixos/lib/make-multi-disk-zfs-image.nix: remove unused binding | figsoda | 1 | -7/+0 | |
2022-09-24 | nixos/testing/network.nix: Add network config to specialisations | Robert Hensing | 2 | -1/+2 | |
2022-09-24 | nixos/testing: Improve interactive docs | Robert Hensing | 1 | -1/+21 | |
2022-09-24 | nixos/testing: Add nodes.config backcompat to nodes module argument | Robert Hensing | 1 | -1/+1 | |
2022-09-24 | nixos/testing: Improve option docs | Robert Hensing | 8 | -26/+109 | |
2022-09-24 | nixos/testing-python: Add interactive variant support to makeTest | Robert Hensing | 1 | -0/+1 | |
2022-09-24 | nixos/testing: Support mypy through regular mechanisms | Robert Hensing | 1 | -3/+1 | |
Rebase / forward port of 2c8bbf33fd84d2fd9de70d66c1f50ac1b6123dd8 | |||||
2022-09-24 | nixos/testing/meta.nix: Add options, some optional | Robert Hensing | 1 | -3/+19 | |
2022-09-24 | nixos/testing/network.nix: Fix specialisations onlyShorthand | Robert Hensing | 1 | -5/+9 | |