From 2feb91b72828f6e9aa8c1f538688a9b1f2f8e4b0 Mon Sep 17 00:00:00 2001 From: NullBite Date: Fri, 5 Jul 2024 21:33:40 -0400 Subject: [PATCH] system: add utils arg passthrough --- system/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system/default.nix b/system/default.nix index ad1399c..d9733f7 100644 --- a/system/default.nix +++ b/system/default.nix @@ -1,4 +1,4 @@ -{ pkgs, config, lib, options, nixpkgs, home-manager, inputs, ... }@args: +{ pkgs, config, lib, options, nixpkgs, home-manager, inputs, utils, ... }@args: let cfg = config.nixfiles; flakeType = cfg.lib.types.flake; @@ -30,6 +30,12 @@ in type = lib.types.bool; }; + utils = lib.mkOption { + description = "nixpkgs `utils` argument passthrough"; + default = utils; + readOnly = true; + }; + workarounds.nvidiaPrimary = lib.mkOption { description = "Whether to enable workarounds for NVIDIA as the primary GPU"; default = false;