mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
nixos,darwin: add osClass (_class) as a specialArg (#6906)
This commit is contained in:
parent
9389f373be
commit
84d262115e
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
_class,
|
||||
...
|
||||
}:
|
||||
|
||||
|
|
@ -28,6 +29,7 @@ let
|
|||
specialArgs = {
|
||||
lib = extendedLib;
|
||||
osConfig = config;
|
||||
osClass = _class;
|
||||
modulesPath = builtins.toString ../modules;
|
||||
} // cfg.extraSpecialArgs;
|
||||
modules = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue