remove `hardware.opengl.driSupport`
```
       error:
       Failed assertions:
       - The option definition `hardware.opengl.driSupport' in `/nix/store/f9zng9c55398x0xfxpnil2qkqq873izz-source/nixos/configuration.nix' no longer has any effect; please remove it.
       The setting can be removed.
```

rename `hardware.opengl` to `hardware.graphics`
```
trace: warning: The option `hardware.opengl.extraPackages' defined in `/nix/store/yq3k4mrsa5ns9zjf3w62pr9vpnqmyn0m-source/nixos/configuration.nix' has been renamed to `hardware.graphics.extraPackages'.
trace: warning: The option `hardware.opengl.enable' defined in `/nix/store/yq3k4mrsa5ns9zjf3w62pr9vpnqmyn0m-source/nixos/configuration.nix' has been renamed to `hardware.graphics.enable'.
```
This commit is contained in:
nora 2024-06-26 21:12:40 +02:00
parent bf04a9adde
commit c2ad2db9da
2 changed files with 19 additions and 24 deletions

View file

@ -139,9 +139,8 @@ in
modesetting.enable = true;
};
hardware.opengl = {
hardware.graphics = {
enable = true;
driSupport = true;
extraPackages = with pkgs; [
vaapiVdpau
];