2024-11-23 05:37:45 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
inputs,
|
|
|
|
...
|
2025-01-14 05:05:10 +00:00
|
|
|
}: let
|
2024-11-23 05:37:45 +00:00
|
|
|
cfg = config.marleyos.nixGL;
|
2025-01-14 05:05:10 +00:00
|
|
|
in {
|
|
|
|
options.marleyos.nixGL.enable = lib.mkEnableOption "nixGL";
|
2024-11-23 05:37:45 +00:00
|
|
|
|
2025-01-14 05:05:10 +00:00
|
|
|
config = lib.mkIf cfg.enable {
|
2024-11-23 05:37:45 +00:00
|
|
|
nixGL = {
|
|
|
|
inherit (inputs.nixgl) packages;
|
|
|
|
defaultWrapper = "nvidia";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|