From 89fcc5e295b650f7bf80cf39ee351b8808505ccb Mon Sep 17 00:00:00 2001 From: rycee Date: Fri, 6 Sep 2024 12:56:32 +0000 Subject: [PATCH] deploy: b00bdf59c0aa5515a0a8e1773fa19128e7efa181 --- options.xhtml | 209 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 209 insertions(+) diff --git a/options.xhtml b/options.xhtml index 1c7e30d19..e0e50b762 100644 --- a/options.xhtml +++ b/options.xhtml @@ -80820,6 +80820,215 @@ boolean

+
+ + xdg.stateFile + + +
+
+

Attribute set of files to link into the user’s XDG +state home.

+ +

Type: +attribute set of (submodule)

+ +

Default: +{ }

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.enable + + +
+
+

Whether this file should be generated. This option allows specific +files to be disabled.

+ +

Type: +boolean

+ +

Default: +true

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.executable + + +
+
+

Set the execute bit. If null, defaults to the mode +of the source file or to false +for files created through the text option.

+ +

Type: +null or boolean

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.onChange + + +
+
+

Shell commands to run when file has changed between +generations. The script will be run +after the new files have been linked +into place.

Note, this code is always run when recursive is +enabled.

+ +

Type: +strings concatenated with “\n”

+ +

Default: +""

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.recursive + + +
+
+

If the file source is a directory, then this option +determines whether the directory should be recursively +linked to the target location. This option has no effect +if the source is a file.

If false (the default) then the target +will be a symbolic link to the source directory. If +true then the target will be a +directory structure matching the source’s but whose leafs +are symbolic links to the files of the source directory.

+ +

Type: +boolean

+ +

Default: +false

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.source + + +
+
+

Path of the source file or directory. If +xdg.stateFile.<name>.text +is non-null then this option will automatically point to a file +containing that text.

+ +

Type: +path

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.target + + +
+
+

Path to target file relative to <varname>xdg.stateHome</varname>.

+ +

Type: +string

+ +

Default: +name

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
+
+ + xdg.stateFile.<name>.text + + +
+
+

Text of the file. If this option is null then +xdg.stateFile.<name>.source +must be set.

+ +

Type: +null or strings concatenated with “\n”

+ +

Default: +null

+ +

Declared by:

+ + +
+ +<home-manager/modules/misc/xdg.nix> + +
+
xdg.stateHome