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

40
flake.lock generated
View file

@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1717525419, "lastModified": 1719418488,
"narHash": "sha256-5z2422pzWnPXHgq2ms8lcCfttM0dz+hg+x1pCcNkAws=", "narHash": "sha256-Hu75KIbGLJA8qe42rO5WkRQ+E+BuzjS42bNEZcy9zT8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a7117efb3725e6197dd95424136f79147aa35e5b", "rev": "607f969f5dca2dc100cbc53e24ab49ac24ef8987",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -47,11 +47,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1717846170, "lastModified": 1719422193,
"narHash": "sha256-FlDDQZvk7Ettjd07roz6L2WrtaqelPSxAfFqaXUefsc=", "narHash": "sha256-2qrVg5GSBmrj4vprXpS+lDGei2o4ezcFWxTK3/yomog=",
"owner": "martinvonz", "owner": "martinvonz",
"repo": "jj", "repo": "jj",
"rev": "65a988e3d2d6b3ed201ed8c2b4952ef08344e55f", "rev": "35e0e4d133b0724d2be53fac28b2fa0bdc77d759",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -83,11 +83,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1717602782, "lastModified": 1719254875,
"narHash": "sha256-pL9jeus5QpX5R+9rsp3hhZ+uplVHscNJh8n8VpqscM0=", "narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e8057b67ebf307f01bdcc8fba94d94f75039d1f6", "rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -99,11 +99,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1717530100, "lastModified": 1719234068,
"narHash": "sha256-b4Dn+PnrZoVZ/BoR9JN2fTxXxplJrAsdSUIePf4Cacs=", "narHash": "sha256-1AjSIedDC/aERt24KsCUftLpVppW61S7awfjGe7bMio=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a2e1d0414259a144ebdc048408a807e69e0565af", "rev": "90bd1b26e23760742fdcb6152369919098f05417",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -115,11 +115,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1717847224, "lastModified": 1719427611,
"narHash": "sha256-ztqkuwVFUzr047irQwTaqreltp2XCKWh6Ir3gimVA3o=", "narHash": "sha256-MYurgW19a5TFlL1zqPWG73TllIOdUKGstGHPq5c3adw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "ec380d684b269838bf92afa85622a22d8eadab1f", "rev": "9dfa9e7493fea727c02b7b1e2a7f96cd13066022",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -140,21 +140,17 @@
}, },
"rust-overlay": { "rust-overlay": {
"inputs": { "inputs": {
"flake-utils": [
"jujutsu",
"flake-utils"
],
"nixpkgs": [ "nixpkgs": [
"jujutsu", "jujutsu",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1714961776, "lastModified": 1719281921,
"narHash": "sha256-LiIxWRKbm1DZ+7l1a6FMmIO8leQx5yrRLIApCMai1DY=", "narHash": "sha256-LIBMfhM9pMOlEvBI757GOK5l0R58SRi6YpwfYMbf4yc=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "f3b20ea4131408ea585bddb1f41f91c4de9499cf", "rev": "b6032d3a404d8a52ecfc8571ff0c26dfbe221d07",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

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