diff --git a/nix-darwin-options.html b/nix-darwin-options.html index 5092abd5d..467306fff 100644 --- a/nix-darwin-options.html +++ b/nix-darwin-options.html @@ -1,5 +1,49 @@ -
home-manager.backupFileExtensionOn activation move existing files by appending the given +
_module.argsAdditional 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: +- {var}`lib`: The nixpkgs library. +- {var}`config`: The results of all options after merging the values from all modules together. +- {var}`options`: The options declared in all modules. +- {var}`specialArgs`: The `specialArgs` argument passed to `evalModules`. +- All attributes of {var}`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 + {var}`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: +- {var}`pkgs`: The nixpkgs package set according to + the {option}`nixpkgs.pkgs` option.
Type: lazy attribute set of raw value
Declared by:
+ <home-manager/lib/modules.nix>
+ |
home-manager.backupFileExtensionOn activation move existing files by appending the given file extension rather than exiting with an error.
Type: null or string
Default: null
Example: "backup"
Declared by:
<home-manager/nixos/common.nix>
|
home-manager.extraSpecialArgsExtra specialArgs passed to Home Manager. This
diff --git a/nixos-options.html b/nixos-options.html
index 65fa61d44..37a0f4a66 100644
--- a/nixos-options.html
+++ b/nixos-options.html
@@ -1,5 +1,49 @@
-
home-manager.backupFileExtensionOn activation move existing files by appending the given +
_module.argsAdditional 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: +- {var}`lib`: The nixpkgs library. +- {var}`config`: The results of all options after merging the values from all modules together. +- {var}`options`: The options declared in all modules. +- {var}`specialArgs`: The `specialArgs` argument passed to `evalModules`. +- All attributes of {var}`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 + {var}`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: +- {var}`pkgs`: The nixpkgs package set according to + the {option}`nixpkgs.pkgs` option.
Type: lazy attribute set of raw value
Declared by:
+ <home-manager/lib/modules.nix>
+ |
home-manager.backupFileExtensionOn activation move existing files by appending the given file extension rather than exiting with an error.
Type: null or string
Default: null
Example: "backup"
Declared by:
<home-manager/nixos/common.nix>
|
home-manager.extraSpecialArgsExtra specialArgs passed to Home Manager. This
diff --git a/options.html b/options.html
index 1a4b206df..237f57345 100644
--- a/options.html
+++ b/options.html
@@ -1,5 +1,49 @@
-
accounts.calendar.accountsList of calendars.
Type: attribute set of (submodule)
Default: { }
Declared by:
programs.script-directory.settingsscript-directory config, for options take a look at the [documentation](github.com/ianthehenry/sd#options)
Type: attribute set of string
Default: { }
Example:
{
SD_ROOT = "${config.home.homeDirectory}/.sd";
SD_EDITOR = "nvim";
SD_CAT = "lolcat";
@@ -7660,7 +7704,7 @@ but are substituted anywhere on a line.kdeUse Qt settings from Plasma
Type: null or one of "gtk", "gnome", "qtct", "kde"
Default: null
Example: "gnome"
Related packages:
pkgs.qgnomeplatform (qgnomeplatform-0.8.4): QPlatformTheme for a better Qt application inclusion in GNOME
pkgs.libsForQt5.qtstyleplugins (qtstyleplugins-unstable-2017-03-11): Additional style plugins for Qt5, including BB10, GTK, Cleanlooks, Motif, Plastique
pkgs.libsForQt5.qt5ct (qt5ct-1.5): Qt5 Configuration Tool
pkgs.qt6Packages.qt6ct (qt6ct-0.8): Qt6 Configuration Tool
pkgs.libsForQt5.plasma-integration (plasma-integration-5.27.5): A set of plugins responsible for better integration of Qt applications when running on a KDE Plasma workspace
pkgs.libsForQt5.systemsettings (systemsettings-5.27.5)
Declared by:
+ applications |