From a80a38af3c76ec7fbbac983b9e8cbead2f6dc013 Mon Sep 17 00:00:00 2001 From: rycee Date: Wed, 19 Jul 2023 21:29:25 +0000 Subject: [PATCH] deploy: c707d4f552bb91512c1df677b2d33ec6000c5230 --- nix-darwin-options.html | 27 +-------------------------- nixos-options.html | 27 +-------------------------- 2 files changed, 2 insertions(+), 52 deletions(-) diff --git a/nix-darwin-options.html b/nix-darwin-options.html index f8adcebbb..d1bb1b7c0 100644 --- a/nix-darwin-options.html +++ b/nix-darwin-options.html @@ -1,30 +1,5 @@ -Appendix C. nix-darwin Module Options

Appendix C. nix-darwin Module Options

_module.args

Additional arguments passed to each module in addition to ones -like lib, config, -and pkgs, modulesPath.

This option is also available to all submodules. Submodules do not -inherit args from their parent module, nor do they provide args to -their parent module or sibling submodules. The sole exception to -this is the argument name which is provided by -parent modules to a submodule and contains the attribute name -the submodule is bound to, or a unique generated name if it is -not bound to an attribute.

Some arguments are already passed by default, of which the -following cannot be changed with this option:

  • lib: The nixpkgs library.

  • config: The results of all options after merging the values from all modules together.

  • options: The options declared in all modules.

  • specialArgs: The specialArgs argument passed to evalModules.

  • All attributes of specialArgs

    Whereas option values can generally depend on other option values -thanks to laziness, this does not apply to imports, which -must be computed statically before anything else.

    For this reason, callers of the module system can provide specialArgs -which are available during import resolution.

    For NixOS, specialArgs includes -modulesPath, which allows you to import -extra modules from the nixpkgs package tree without having to -somehow make the module aware of the location of the -nixpkgs or NixOS directories.

    { modulesPath, ... }: {
    -  imports = [
    -    (modulesPath + "/profiles/minimal.nix")
    -  ];
    -}
    -

For NixOS, the default value for this option includes at least this argument:

  • pkgs: The nixpkgs package set according to -the nixpkgs.pkgs option.

Type: -lazy attribute set of raw value

Declared by:

-<nixpkgs/lib/modules.nix> -
home-manager.backupFileExtension

On activation move existing files by appending the given +Appendix C. nix-darwin Module Options

Appendix C. nix-darwin Module Options

home-manager.backupFileExtension

On activation move existing files by appending the given file extension rather than exiting with an error.

Type: null or string

Default: null

Example: diff --git a/nixos-options.html b/nixos-options.html index d9ce79877..0feca73da 100644 --- a/nixos-options.html +++ b/nixos-options.html @@ -1,30 +1,5 @@ -Appendix B. NixOS Module Options

Appendix B. NixOS Module Options

_module.args

Additional arguments passed to each module in addition to ones -like lib, config, -and pkgs, modulesPath.

This option is also available to all submodules. Submodules do not -inherit args from their parent module, nor do they provide args to -their parent module or sibling submodules. The sole exception to -this is the argument name which is provided by -parent modules to a submodule and contains the attribute name -the submodule is bound to, or a unique generated name if it is -not bound to an attribute.

Some arguments are already passed by default, of which the -following cannot be changed with this option:

  • lib: The nixpkgs library.

  • config: The results of all options after merging the values from all modules together.

  • options: The options declared in all modules.

  • specialArgs: The specialArgs argument passed to evalModules.

  • All attributes of specialArgs

    Whereas option values can generally depend on other option values -thanks to laziness, this does not apply to imports, which -must be computed statically before anything else.

    For this reason, callers of the module system can provide specialArgs -which are available during import resolution.

    For NixOS, specialArgs includes -modulesPath, which allows you to import -extra modules from the nixpkgs package tree without having to -somehow make the module aware of the location of the -nixpkgs or NixOS directories.

    { modulesPath, ... }: {
    -  imports = [
    -    (modulesPath + "/profiles/minimal.nix")
    -  ];
    -}
    -

For NixOS, the default value for this option includes at least this argument:

  • pkgs: The nixpkgs package set according to -the nixpkgs.pkgs option.

Type: -lazy attribute set of raw value

Declared by:

-<nixpkgs/lib/modules.nix> -
home-manager.backupFileExtension

On activation move existing files by appending the given +Appendix B. NixOS Module Options

Appendix B. NixOS Module Options

home-manager.backupFileExtension

On activation move existing files by appending the given file extension rather than exiting with an error.

Type: null or string

Default: null

Example: