2024-06-21 23:26:44 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
# Backward-compat for 24.05, can be removed after we drop 24.05 support
|
2024-06-22 08:42:43 +02:00
|
|
|
imports = lib.optionals (lib.versionOlder lib.version "24.11pre") [
|
|
|
|
(lib.mkAliasOptionModule [ "hardware" "graphics" "enable" ] [ "hardware" "opengl" "enable" ])
|
|
|
|
(lib.mkAliasOptionModule [ "hardware" "graphics" "extraPackages" ] [ "hardware" "opengl" "extraPackages" ])
|
|
|
|
(lib.mkAliasOptionModule [ "hardware" "graphics" "extraPackages32" ] [ "hardware" "opengl" "extraPackages32" ])
|
|
|
|
(lib.mkAliasOptionModule [ "hardware" "graphics" "enable32Bit" ] [ "hardware" "opengl" "driSupport32Bit" ])
|
|
|
|
];
|
2024-06-21 23:26:44 +02:00
|
|
|
}
|