summaryrefslogtreecommitdiffstats
path: root/nixos/modules/services/scheduling/cron.nix
AgeCommit message (Collapse)Author
2024-04-13nixos: remove all uses of lib.mdDocstuebinm
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 descriptionspennae
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.
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier
2021-09-13nixos: explicitely set security.wrappers ownershiprnhmjoj
This is slightly more verbose and inconvenient, but it forces you to think about what the wrapper ownership and permissions will be.
2019-03-26nixos.cron: fix docstring sentenceBenjamin Hipple
2017-08-30cron service: fix reliance on etc.timezoneLinus Heckemann
This does not fully address the issue, as cron will not restart when the timezone is changed imperatively as it presumably needs to.
2017-03-17nixos/treewide: remove boolean examples for optionsFranz Pletz
They contain no useful information and increase the length of the autogenerated options documentation. See discussion in #18816.
2017-02-15nixos/cron: unbreak since new security.wrapperBjørn Forsman
2017-01-29More derpParnell Springmeyer
2017-01-29Getting rid of the var indirection and using a bin path insteadParnell Springmeyer
2017-01-29Fixing a bunch of issuesParnell Springmeyer
2017-01-28Addressing PR feedbackParnell Springmeyer
2016-09-01Adapting everything for the merged permissions wrappers work.Parnell Springmeyer
2016-09-01everything?: Updating every package that depended on the old setuidPrograms ↵Parnell Springmeyer
configuration.
2015-11-19services.cron.enable: Remove misleading defaultEelco Dolstra
Elsewhere we set it to "mkDefault (allFiles != [])" to the default has no effect.
2015-10-03build the crontab localy, there is nothing to gain from building it remotelymichael bishop
2015-07-24cron: Actually enable the service if enabledShea Levy
2015-07-22Use environment.etc to manage /etc/crontabEelco Dolstra
Otherwise, /etc/crontab won't be deleted when cron is disabled.
2015-07-22Don't enable cron by defaultEelco Dolstra
The rationale for disabling this is: 1) systemd timers are better; 2) it gets rid of one usually unnecessary process, which makes containers more light-weight. Note that cron is still enabled if services.cron.systemCronJobs is non-empty, so this only matters if you have no declarative cron jobs but do have user cron jobs.
2014-12-15cron: make into systemd.service and make it depend on /etc/localtimeRob Vermaas
so that changes in timezone will trigger a restart of cron service.
2014-10-01nixos: Add option services.cron.cronFilesRickard Nilsson
This allows you to configure extra files that should be appended to your crontab. Implemented by writing to /etc/crontab when the cron service starts. Would be nicer to use a cron that supports /etc/cron.d but that would require us to patch vixie-cron.
2014-07-02Get all lib functions from lib, not pkgs.lib, in modulesShea Levy
2014-04-14Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra
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.
2013-10-30Add lots of missing option typesEelco Dolstra
2013-10-10Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra