1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46: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, config,
lib, lib,
pkgs, pkgs,
_class,
... ...
}: }:
@ -28,6 +29,7 @@ let
specialArgs = { specialArgs = {
lib = extendedLib; lib = extendedLib;
osConfig = config; osConfig = config;
osClass = _class;
modulesPath = builtins.toString ../modules; modulesPath = builtins.toString ../modules;
} // cfg.extraSpecialArgs; } // cfg.extraSpecialArgs;
modules = [ modules = [