mirror of
https://github.com/Noratrieb/nixos.git
synced 2026-01-16 20:55:06 +01:00
update
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:
parent
bf04a9adde
commit
c2ad2db9da
2 changed files with 19 additions and 24 deletions
|
|
@ -139,9 +139,8 @@ in
|
|||
modesetting.enable = true;
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
extraPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue