Create asus-zephyrus-ga402x-amdgpu and asus-zephyrus-ga402x-nvidia entries

- Previous attr-set style providing "amdgpu" and "nvidia" is broken by PR #1046
- Add deprecation assertion for asus-zephyrus-ga402x
This commit is contained in:
mexisme
2024-07-22 00:10:45 +12:00
committed by mergify[bot]
parent 5bd0371d3f
commit 13d6cbde4d
2 changed files with 9 additions and 12 deletions

View File

@@ -1,15 +1,10 @@
## When using from a Flake, you can access these via imports of the attr key, e.g:
#
# imports = [
# nixos-hardware.nixosModules.asus-zephyrus-ga402x.amdgpu
# ];
#
## or:
# imports = [
# nixos-hardware.nixosModules.asus-zephyrus-ga402x.nvidia
# ];
{ ... }:
{
amdgpu = import ./amdgpu;
nvidia = import ./nvidia;
assertions = [
{
assertion = false;
message = "Importing asus/zephyrus/ga402x/ (default.nix) directly is deprecated! #TODO: More details";
}
];
}