From e50bc2f36d51cee83f4b4fde708d854e9ba40254 Mon Sep 17 00:00:00 2001 From: Jade Date: Thu, 31 Mar 2022 00:21:21 -0400 Subject: [PATCH] nixos/nix-gc, nixos/auto-upgrade: Minor documentation fixes. The gc documentation had some artifacts (presumably being copied from autoupgrade) and the autoupgrade docs had a typo --- nixos/modules/services/misc/nix-gc.nix | 2 +- nixos/modules/tasks/auto-upgrade.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/misc/nix-gc.nix b/nixos/modules/services/misc/nix-gc.nix index b4b4b55a6c82..0fcb01601017 100644 --- a/nixos/modules/services/misc/nix-gc.nix +++ b/nixos/modules/services/misc/nix-gc.nix @@ -39,7 +39,7 @@ in type = types.str; example = "45min"; description = '' - Add a randomized delay before each automatic upgrade. + Add a randomized delay before each garbage collection. The delay will be chosen between zero and this value. This value must be a time span in the format specified by systemd.time diff --git a/nixos/modules/tasks/auto-upgrade.nix b/nixos/modules/tasks/auto-upgrade.nix index 1404dcbaf7c0..a5755d08d7de 100644 --- a/nixos/modules/tasks/auto-upgrade.nix +++ b/nixos/modules/tasks/auto-upgrade.nix @@ -90,7 +90,7 @@ in { example = "45min"; description = '' Add a randomized delay before each automatic upgrade. - The delay will be chozen between zero and this value. + The delay will be chosen between zero and this value. This value must be a time span in the format specified by systemd.time 7