nix-config/modules/home/nix-gl/default.nix
Bruno BELANYI 22efa99f5f
All checks were successful
ci/woodpecker/push/check Pipeline was successful
WIP: nixgl wrappers
2025-07-22 13:44:32 +00:00

21 lines
370 B
Nix

{ config, inputs, lib, ... }:
let
cfg = config.my.home.nix-gl;
in
{
options.my.home.nix-gl = with lib; {
enable = mkEnableOption "nixGL configuration";
};
config = lib.mkIf cfg.enable (lib.mkMerge [
{
nixGL = {
inherit (inputs.nixgl) packages;
defaultWrapper = "mesa";
installScripts = [ "mesa" ];
};
}
]);
}