From 15bf332bbbacd7472355903f56d3d6762c1f3d26 Mon Sep 17 00:00:00 2001 From: khaneliman Date: Mon, 3 Nov 2025 05:03:00 +0000 Subject: [PATCH] deploy: b5ed4afc2277339bdf0e9edf59befff7350cf075 --- options.xhtml | 256 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 246 insertions(+), 10 deletions(-) diff --git a/options.xhtml b/options.xhtml index e0e8d59a4..6f4070a81 100644 --- a/options.xhtml +++ b/options.xhtml @@ -118458,27 +118458,263 @@ null or string

- systemd.user.tmpfiles.rules + systemd.user.tmpfiles.settings
-

Rules for creating and cleaning up temporary files -automatically. See -tmpfiles.d(5) -for the exact format.

+

Declare systemd-tmpfiles rules to create, delete, and clean up volatile +and temporary files and directories.

Even though the service is called *tmp*files you can also create +persistent files.

Type: -list of string

+attribute set of (submodule)

Default: -[ ]

+{ }

-

Example:

[
-  "L /home/user/Documents - - - - /mnt/data/Documents"
-]
+

Example:

{
+  cache = {
+    rules = {
+      "%C" = {
+        d = {
+          age = "4 weeks";
+          group = "alice";
+          mode = "0755";
+          user = "alice";
+        };
+      };
+    };
+  };
+}
 
+

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.purgeOnChange + + +
+
+

Whether the rules that are marked for purging, will automatically +be purged when the set of rules changes.

See systemd-tmpfiles(8) for details about purging.

+ +

Type: +boolean

+ +

Default: +false

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules + + +
+
+

The rules contained in this configuration.

+ +

Type: +non-empty attribute set of non-empty attribute set of (submodule)

+ +

Example:

{
+  "%C" = {
+    d = {
+      age = "4 weeks";
+      group = "alice";
+      mode = "0755";
+      user = "alice";
+    };
+  };
+}
+
+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules.<path>.<tmpfiles-type>.age + + +
+
+

Delete a file when it reaches a certain age.

If a file or directory is older than the current time minus the age +field, it is deleted.

If set to "-", no automatic clean-up is done.

+ +

Type: +string

+ +

Default: +"-"

+ +

Example: +"10d"

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules.<path>.<tmpfiles-type>.argument + + +
+
+

An argument whose meaning depends on the type of operation.

Please see the upstream documentation for the meaning of this +parameter in different situations: tmpfiles.d(5)

+ +

Type: +string

+ +

Default: +""

+ +

Example: +""

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules.<path>.<tmpfiles-type>.group + + +
+
+

The group of the file.

This may either be a numeric ID or a user/group name.

If omitted or when set to "-", the user and group of the user who +invokes systemd-tmpfiles is used.

+ +

Type: +string

+ +

Default: +"-"

+ +

Example: +"root"

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules.<path>.<tmpfiles-type>.mode + + +
+
+

The file access mode to use when creating this file or directory.

+ +

Type: +string

+ +

Default: +"-"

+ +

Example: +"0755"

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules.<path>.<tmpfiles-type>.type + + +
+
+

The type of operation to perform on the file.

The type consists of a single letter and optionally one or more +modifier characters.

Please see the upstream documentation for the available types and +more details: tmpfiles.d(5)

+ +

Type: +string (read only)

+ +

Default: +"‹tmpfiles-type›"

+ +

Example: +"d"

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/tmpfiles.nix> + +
+
+
+ + systemd.user.tmpfiles.settings.<config-name>.rules.<path>.<tmpfiles-type>.user + + +
+
+

The user of the file.

This may either be a numeric ID or a user/group name.

If omitted or when set to "-", the user and group of the user who +invokes systemd-tmpfiles is used.

+ +

Type: +string

+ +

Default: +"-"

+ +

Example: +"root"

+

Declared by: