about summary refs log tree commit diff
path: root/nixos/modules/hardware/ckb-next.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-04-13nixos: remove all uses of lib.mdDocstuebinm1-2/+2
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
2023-11-27treewide: use `mkPackageOption`h7x41-8/+1
This commit replaces a lot of usages of `mkOption` with the package type, to be `mkPackageOption`, in order to reduce the amount of code.
2022-10-04maintainers: remove superherointjsuperherointj1-1/+1
2022-08-31nixos/*: automatically convert option descriptionspennae1-1/+1
conversions were done using https://github.com/pennae/nix-doc-munge using (probably) rev f34e145 running nix-doc-munge nixos/**/*.nix nix-doc-munge --import nixos/**/*.nix the tool ensures that only changes that could affect the generated manual *but don't* are committed, other changes require manual review and are discarded.
2022-07-30treewide: automatically md-convert option descriptionspennae1-2/+2
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-07-03ckb-next: remove myself from maintainers (#179573)Kier Davis1-1/+1
* ckb-next: remove kierdavis and add superherointj as maintainer Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-1/+1
2020-08-13nixos: remove StandardOutput=syslog, StandardError=syslog linesFlorian Klink1-1/+0
Since systemd 243, docs were already steering users towards using `journal`: https://github.com/systemd/systemd/commit/eedaf7f322a850c5d9f49346d43420423fc6f593 systemd 246 will go one step further, it shows warnings for these units during bootup, and will [automatically convert these occurences to `journal`](https://github.com/systemd/systemd/commit/f3dc6af20f410702beb8e45ddf77e92289fc90c7): > [ 6.955976] systemd[1]: /nix/store/hwyfgbwg804vmr92fxc1vkmqfq2k9s17-unit-display-manager.service/display-manager.service:27: Standard output type syslog is obsolete, automatically updating to journal. Please update│······················ your unit file, and consider removing the setting altogether. So there's no point of keeping `syslog` here, and it's probably a better idea to just not set it, due to: > This setting defaults to the value set with DefaultStandardOutput= in > systemd-system.conf(5), which defaults to journal.
2019-12-10nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger1-0/+5
A centralized list for these renames is not good because: - It breaks disabledModules for modules that have a rename defined - Adding/removing renames for a module means having to find them in the central file - Merge conflicts due to multiple people editing the central file
2018-11-15nixos/ckb: Add option to restrict access to the devices to a particular groupNadrieril1-1/+10
fixes #34064
2018-11-06ckb-next: move option renames to nixos/modules/rename.nix for consistencyKier Davis1-5/+0
2018-10-22ckb module: use exec when starting the daemon processKier Davis1-1/+1
This avoids leaving the parent shell process (the one executing the unit script) lying around.
2018-10-22ckb, ckb module: rename to ckb-nextKier Davis1-0/+45
The upstream package has officially changed its name to ckb-next.