nix-config/modules/home/nixgl/default.nix

18 lines
296 B
Nix
Raw Permalink Normal View History

2024-10-31 15:14:59 +01:00
{ config, inputs, lib, ... }:
let
cfg = config.my.home.nixgl;
in
{
options.my.home.nixgl = with lib; {
enable = mkEnableOption "nixGL configuration";
};
config = lib.mkIf cfg.enable (lib.mkMerge [
{
nixGL = {
inherit (inputs.nixgl) packages;
};
}
]);
}