about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorNathan Henrie <nate@n8henrie.com>2023-09-08 08:45:55 -0600
committerNathan Henrie <nate@n8henrie.com>2023-09-08 09:12:29 -0600
commit5061d9daf0e3960dac85948de775497f81b509e8 (patch)
tree8c9ba9aa60468292d0fc55edc70ac0e5c8718312 /nixos/modules/system
parentdb9208ab987cdeeedf78ad9b4cf3c55f5ebd269b (diff)
downloadnixlib-5061d9daf0e3960dac85948de775497f81b509e8.tar
nixlib-5061d9daf0e3960dac85948de775497f81b509e8.tar.gz
nixlib-5061d9daf0e3960dac85948de775497f81b509e8.tar.bz2
nixlib-5061d9daf0e3960dac85948de775497f81b509e8.tar.lz
nixlib-5061d9daf0e3960dac85948de775497f81b509e8.tar.xz
nixlib-5061d9daf0e3960dac85948de775497f81b509e8.tar.zst
nixlib-5061d9daf0e3960dac85948de775497f81b509e8.zip
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.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index ac55461107fb..b6c3085c4f16 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`.
       '';
     };