system: add utils arg passthrough
This commit is contained in:
parent
1e6fe4a8ef
commit
2feb91b728
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user