1
0
Fork 0
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:
isabel 2025-04-30 02:37:59 +01:00 committed by GitHub
parent 9389f373be
commit 84d262115e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = [