system: add utils arg passthrough

This commit is contained in:
NullBite 2024-07-05 21:33:40 -04:00
parent 1e6fe4a8ef
commit 2feb91b728
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -1,4 +1,4 @@
{ pkgs, config, lib, options, nixpkgs, home-manager, inputs, ... }@args: { pkgs, config, lib, options, nixpkgs, home-manager, inputs, utils, ... }@args:
let let
cfg = config.nixfiles; cfg = config.nixfiles;
flakeType = cfg.lib.types.flake; flakeType = cfg.lib.types.flake;
@ -30,6 +30,12 @@ in
type = lib.types.bool; type = lib.types.bool;
}; };
utils = lib.mkOption {
description = "nixpkgs `utils` argument passthrough";
default = utils;
readOnly = true;
};
workarounds.nvidiaPrimary = lib.mkOption { workarounds.nvidiaPrimary = lib.mkOption {
description = "Whether to enable workarounds for NVIDIA as the primary GPU"; description = "Whether to enable workarounds for NVIDIA as the primary GPU";
default = false; default = false;