From 5061d9daf0e3960dac85948de775497f81b509e8 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Fri, 8 Sep 2023 08:45:55 -0600 Subject: [PATCH] systemd.watchdog: (docs): include note about systemd default watchdog reboot time I found it very confusing to get an error message on reboot about `10min` when that didn't seem to be the NixOS default. --- nixos/modules/system/boot/systemd.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index ac55461107f..b6c3085c4f1 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -395,7 +395,9 @@ in description = lib.mdDoc '' The amount of time which can elapse after a reboot has been triggered before a watchdog hardware device will automatically reboot the system. - Valid time units include "ms", "s", "min", "h", "d", and "w". + Valid time units include "ms", "s", "min", "h", "d", and "w". If left + `null`, systemd will use its default of `10min`; see also {command}`man + 5 systemd-system.conf`. ''; };