about summary refs log tree commit diff
path: root/nixos/modules/services/misc/dictd.nix
AgeCommit message (Collapse)AuthorFilesLines
8 daysnixos/dictd: treat SIGTERM exit status as successBjørn Forsman1-0/+3
dictd doesn't handle SIGTERM and terminates with code 143 (128 + 15 (SIGTERM) instead of 0. This results in systemd marking the service as failed when a user stops it (with `systemctl stop dictd`). Fix it by treating code 143 as success.
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.
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-06-28nixos/dictd: make dict use local serverAlyssa Ross1-0/+4
Seems silly to install this for use with the local server, but to not configure it to use the local server. Otherwise, out of the box we just get an error about no server being configured.
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-2/+2
2021-01-24treewide: fix double quoted strings in meta.descriptionvolth1-1/+1
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2020-01-06treewide: use attrs instead of list for types.loaOf optionsrnhmjoj1-7/+3
2018-06-30nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink1-2/+2
2016-11-21nixos/modules: use defaultText where applicableJoachim Fasting1-1/+2
Primarily to fix rendering of these default values in the manual but it's also nice to avoid having to eval these things just to build the manual.
2016-10-19nixos: dictd, make wiktionary and wordnet default dictsEdward Tjörnhammar1-1/+1
2016-10-19nixos: dictd config location; bind to cfgEdward Tjörnhammar1-2/+6
2016-05-05update docs for services.dictd.* config optionsMirzhan Irkegulov1-1/+3
added types for both options and an example for services.dictd.DBs
2016-01-07jobs -> systemd.servicesRobin Gloster1-8/+7
2014-04-14Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra1-2/+2
Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
2014-02-22nixos: Assign uid/gid to dictd's service user.Petr Rockai1-0/+2
2014-01-25nixos: Add a dictd service.Petr Rockai1-0/+61