about summary refs log tree commit diff
path: root/nixos/modules/misc
Commit message (Collapse)AuthorAge
* Merge pull request #277633 from nikstur/image-repart-improvementsnikstur2024-01-19
|\ | | | | Image repart improvements
| * image/repart: add version and compression optionsnikstur2024-01-19
| | | | | | | | | | | | | | | | | | | | | | The version option is needed if you want to implement partition & systemd-boot based A/B booting where the version information is encoded in the files on the ESP. See systemd-sysupate docs for more details on this: https://www.freedesktop.org/software/systemd/man/latest/sysupdate.d.html Note, however, that this is not *only* useful for systemd-sysupdate but also for other similar updating tools/mechanisms.
| * nixos/version: add options to identify imagesnikstur2024-01-19
| | | | | | | | | | This is useful when building appliance images that use among other things partition based A/B updates.
* | nixos/doc: avoid bash argument list size limitpennae2023-12-31
|/ | | | | | | see #277861. as the module list grows the argument size in the lazy-options nix call grows, eventually reaching a hard limit and causing the build to fail. writing the list to a file instead and import it instead of providing it directly circumvents this.
* nixos/mandoc: don't create leading double slashes in MANPATHsternenseemann2023-12-24
|
* nixos/mandoc: add man.conf settings optionaleksana2023-12-24
|
* nixos/mandoc: use MANPATH environment variablealeksana2023-12-24
|
* nixos/mandoc: fix paths don't exist failurealeksana2023-12-24
|
* nixos/hound: adopt, rework, cleanup (#268983)Sandro2023-12-05
| | | | | | | - add me as maintainer - remove hardcoded user id - validate syntax of config file - remove superfluous option extraGroups - use mkPackageOptionMD
* treewide: use `mkPackageOption`h7x42023-11-27
| | | | | This commit replaces a lot of usages of `mkOption` with the package type, to be `mkPackageOption`, in order to reduce the amount of code.
* Revert "23.11 beta release"Artturin2023-11-22
| | | | | | | | | | | | This line shouldn't be changed from pre to beta on master, only in the beta branch https://nixos.github.io/release-wiki/Branch-Off.html#on-the-release-branch This reverts commit dc7b3febf8d862328d8704de5c8437d2df442c76. Revert "nixos/release: fix versionSuffix eval" This reverts commit 625c450024e24c55cac035372bc49b39f8df005b.
* 23.11 beta releasefigsoda2023-11-21
| | | | Signed-off-by: figsoda <figsoda@pm.me>
* 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).