summary refs log tree commit diff
path: root/nixos/modules/misc
Commit message (Collapse)AuthorAge
* prayer: removetu-maurice2023-11-10
|
* nixos/version: rewrite stateVersion documentationK9002023-10-29
| | | | Match the comment in nixos-generate-config and add some more details for the curious.
* nixos/nixpkgs.nix: use less confusing example systemsAlyssa Ross2023-10-25
| | | | | system and config shouldn't both be specified — each will be filled in based on the other when the system is elaborated.
* Revert "ddclient: remove package and module on upstream maintainer request"Bjørn Forsman2023-10-20
| | | | | | | This reverts commit d35df28f65208764f6f94ba330c98615d95b934c. Upstream ddclient has new maintainers and made a new release (update in next commit(s)).
* nixos: fix bad mkEnableOption descriptionsBjørn Forsman2023-10-20
| | | | | Fix descriptions that don't account for (1) the "Whether to enable" prefix or (2) the automatically added trailing dot.
* nixos/locate: rename option `locate` -> `package`Bob van der Linden2023-10-08
|
* nixos/locate: cleanup optional parenthesisSandro Jäckel2023-10-03
|
* nixos/locate: rip out dbfile overridesK9002023-10-02
| | | | | | All the locate versions we have support LOCATE_PATH, so just use that instead of adding indirections all over the place AND forcing people to rebuild their locate implementation if they want the path changed.
* Merge pull request #257458 from K900/die-nixpkgs-config-dieK9002023-10-01
|\ | | | | treewide: fail when `nixpkgs.config` is set with explicit `pkgs`, remove all `nixpkgs.config` usages in in-tree modules
| * nixos/locate: remove `nixpkgs.config` usageK9002023-09-26
| |
| * nixos/nixpkgs: assert that nixpkgs.config is not set when pkgs is passed in ↵K9002023-09-26
| | | | | | | | | | | | externally This is a common footgun people hit often. Remove it.
* | nixos/nixpkgs: Rewrite overlays option docsSilvan Mosberger2023-09-28
|/ | | | | | henrik-ch was also here :) Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io>
* nixos/doc: Improve documentation of documentationDoron Behar2023-08-12
| | | | | | | | | | - Move contents of README.md from nixos/modules/installer/tools/manpages/ to nixos/doc/manual/contributing-to-this-manual.chapter.md. - Don't mention DocBook as its obsolete and too specific. - Rename derivation attribute name of configuration.nix(5) manual page, both on the `contributing-to-this-manual.chapter.md`, and in other places.
* nixos/install-tools: Add manpages to packages instead of seperating themDoron Behar2023-08-12
| | | | | | | | Since each such `nixos-*` tool has it's own derivation, exposed in pkgs, There is no point in separating the manuals from the packages. If someone wishes to have the tools without the manuals, they can use meta.outputsToInstall to disable the installation of the manpages of these packages. This Fixes #244450.
* Merge pull request #241462 from SuperSandro2000/remove-ddclientRyan Lahfa2023-07-08
|\
| * ddclient: remove package and module on upstream maintainer requestSandro Jäckel2023-07-04
| |
* | nixos/config/nix-channel: Factor out root channel initializationRobert Hensing2023-07-05
|/
* Merge pull request #237823 from lilyinstarlight/fix/systemd-initrd-no-revWill Fancher2023-06-24
|\ | | | | nixos/version: remove nixpkgs commit rev from initrd
| * nixos/version: remove nixpkgs commit rev from initrdLily Foster2023-06-14
| | | | | | | | | | This avoids unnecessary initrd rebuilds when nothing in the initrd would have changed aside from the nixpkgs revision.
* | Merge pull request #238136 from ↵Robert Hensing2023-06-23
|\ \ | | | | | | | | | | | | hercules-ci/nixos-nixpkgs-dont-check-when-_module.args.pkgs-is-set `nixos/nixpkgs`: Don't check when `_module.args.pkgs` is set
| * | nixos/nixpkgs: Don't check when _module.args.pkgs is setRobert Hensing2023-06-16
| | |
| * | nixos/nixpkgs: Make default Nixpkgs lazy when overriddenRobert Hensing2023-06-16
| |/
* | nixos/make-options-doc: deprecate docbook outputspennae2023-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | they're no longer necessary for us and will almost definitely start to rot now (like commonmark and asciidoc outputs did previously). most existing users seem to take the docbook output and run it through pandoc to generate html, those can easily migrate to use commonmark instead. other users will hopefully pipe up when they notice that things they rely on are going away. optionsUsedDocbook has only been around for one release and only exposed to allow other places to generate warnings, so that does not deserve such precautions.
* | nixos/manual: disallow docbook option docspennae2023-06-13
|/ | | | | | | | | | it's been long in the making, and with 23.05 out we can finally disable docbook option docs and default to markdown instead. this brings a massive speed boost in manual and manpage builds, so much so that we may consider enabling user module documentation by default. we don't remove the docbook support code entirely yet because it's a lot all over, and probably better removed in multiple separate changes.
* nixos: fix typosfigsoda2023-05-19
|
* nixosModules.pkgsReadOnly: initRobert Hensing2023-05-10
|
* nixos/nixpkgs: Use types.pkgsRobert Hensing2023-05-10
|
* lib/modules: Move class out of specialArgsRobert Hensing2023-05-06
|
* nixos,nixpkgs: Add module classesRobert Hensing2023-05-06
| | | | | | | | This allows modules that declare their class to be checked. While that's not most user modules, frameworks can take advantage of this by setting declaring the module class for their users. That way, the mistake of importing a module into the wrong hierarchy can be reported more clearly in some cases.
* nixos/gitit: removeajs1242023-04-03
| | | | | | has not been evaluated (in module-list) since 122d5e497e6df55f4b2e5c353bb2224b79cfd7b0 Closes #167034
* nixos/documentation: Fix desktopIcon, GenericName/Commentsimeplejack-src2023-03-29
|
* solr: dropWeijia Wang2023-03-16
|
* Revert "nixos/polkit: guard static gid for polkituser behind state version"Winter2023-02-25
| | | | | | | | | | | | | This reverts commit 2265160fc0b4cc9a38b392ec3b3a3fe18c2e5413 and e56db577a1f69c02e80d8bc26d514c01a2c5cc61. Ideally, we shouldn't cause friction for users that bump `stateVersion`, and I'd consider having to switch and/or manually hardcode a UID/GID to supress the warning friction. I think it'd be more beneficial to, in this rare case of an ID being missed, just let it be until more discussion happens surrounding this overall issue. See https://github.com/NixOS/nixpkgs/pull/217785 for more context.
* Revert "nixos/systemd-coredump: guard static gid for systemd-coredump behind ↵Winter2023-02-25
| | | | | | | | | | | | | | | state version" This reverts commits f5483464d5726d05b6169017e6b0f64ebccc2f53 and 6b9583e5e121b26468d880bdb65302a9172fc041. Ideally, we shouldn't cause friction for users that bump `stateVersion`, and I'd consider having to switch and/or manually hardcode a UID/GID to supress the warning friction. I think it'd be more beneficial to, in this rare case of an ID being missed, just let it be until more discussion happens surrounding this overall issue. See https://github.com/NixOS/nixpkgs/pull/217785 for more context.
* nixos/polkit: set static gid for polkituser1sixth2023-02-22
| | | | polkituser needs a group since https://github.com/NixOS/nixpkgs/pull/130522.
* nixos/systemd-coredump: fix group idIzorkin2023-02-08
|
* treewide: fix backwards smart apostrophesJason Yundt2023-02-06
| | | | | | | | According to the Unicode Standard, you should use U+2019 RIGHT SINGLE QUOTATION MARK for apostrophes [1]. Before this change, some of the text in this repo would use U+2018 LEFT SINGLE QUOTATION MARKs instead. [1]: https://www.unicode.org/versions/Unicode15.0.0/ch06.pdf#G12411
* nixos/manual: render module chapters with nixos-render-docspennae2023-01-27
| | | | | | | | | | | | | | | | this converts meta.doc into an md pointer, not an xml pointer. since we no longer need xml for manual chapters we can also remove support for manual chapters from md-to-db.sh since pandoc converts smart quotes to docbook quote elements and our nixos-render-docs does not we lose this distinction in the rendered output. that's probably not that bad, our stylesheet didn't make use of this anyway (and pre-23.05 versions of the chapters didn't use quote elements either). also updates the nixpkgs manual to clarify that option docs support all extensions (although it doesn't support headings at all, so heading anchors don't work by extension).
* nixos/documentation: deprecate docbook option docspennae2023-01-22
| | | | | | | | following the plan in https://github.com/NixOS/nixpkgs/pull/189318#discussion_r961764451 also adds an activation script to print the warning during activation instead of during build, otherwise folks using the new CLI that hides build logs by default might never see the warning.
* nixos/documentation.man.mandb: Add skipPackages option, and include ↵Jeff Huffman2023-01-16
| | | | | | | | nixos-version prevents unnecessary recreation of man caches Fixes #209835
* nixos/version: add config.system.nixos.distroName and ↵Victor Fuentes2023-01-14
| | | | config.system.nixos.distroId
* Merge pull request #209064 from Lassulus/os-release-extraLassulus2023-01-05
|\
| * nixos/misc: add VARIANT_ID in /etc/os-release for identifying nixos installerlassulus2023-01-04
| | | | | | | | | | | | This is a feature useful for nixos-remote and other installation tools that try to identify if the remote machine has been successfully booted into an installer.
* | modules: add mkPackageOptionMDpennae2023-01-05
|/ | | | another transitional option factory, like mkAliasOptionModuleMD.
* nixos/version: Only warn about unset stateVersion if usedRobert Hensing2022-12-28
| | | | | | | | If a configuration does not use services that depend on the stateVersion, it does not need to be set. This provides an incentive for services not to rely on stateVersion, and not to burden users with this.
* Revert "treewide: use nativeBuildInputs with runCommand instead of inlining"K9002022-12-26
|
* Merge pull request #206775 from SuperSandro2000/runCommand-nativeBuildInputsSandro2022-12-25
|\
| * treewide: use nativeBuildInputs with runCommand instead of inliningSandro Jäckel2022-12-18
| |
* | Merge pull request #206709 from SuperSandro2000/mandb-miscArtturi2022-12-19
|\ \ | | | | | | nixos/man-db: use nativeBuildInputs
| * | nixos/man-db: use nativeBuildInputsSandro Jäckel2022-12-18
| |/