about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Kline <matt@bitbashing.io>2024-05-23 14:22:33 -0700
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-05-23 23:15:48 +0000
commit6f85ce210bd399a03e77af16c0daef37f65e9fe5 (patch)
tree784ef3479c596930451fcb9168b9ad5edcc5d2f7
parentc39b5a177cb5b275fe93f11230a039fcd6a5523a (diff)
nixos/snapper, nixos/borgbackup: Fix module doc typo
The persistentTimer argument sets the _Persistent_ field in
systemd.timer(5).

Pointed out in #312549

(cherry picked from commit 234f4db797d0a64bd2995601f15fd12c2394157f)
-rw-r--r--nixos/modules/services/backup/borgbackup.nix2
-rw-r--r--nixos/modules/services/misc/snapper.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/backup/borgbackup.nix b/nixos/modules/services/backup/borgbackup.nix
index 04f971008073e..a3c0715c9e607 100644
--- a/nixos/modules/services/backup/borgbackup.nix
+++ b/nixos/modules/services/backup/borgbackup.nix
@@ -361,7 +361,7 @@ in {
             type = types.bool;
             example = true;
             description = ''
-              Set the `persistentTimer` option for the
+              Set the `Persistent` option for the
               {manpage}`systemd.timer(5)`
               which triggers the backup immediately if the last trigger
               was missed (e.g. if the system was powered down).
diff --git a/nixos/modules/services/misc/snapper.nix b/nixos/modules/services/misc/snapper.nix
index 33207ac2b5bd5..a42fca5b60289 100644
--- a/nixos/modules/services/misc/snapper.nix
+++ b/nixos/modules/services/misc/snapper.nix
@@ -108,7 +108,7 @@ in
       type = types.bool;
       example = true;
       description = ''
-        Set the `persistentTimer` option for the
+        Set the `Persistent` option for the
         {manpage}`systemd.timer(5)`
         which triggers the snapshot immediately if the last trigger
         was missed (e.g. if the system was powered down).