Skip to content

Commit f71f275

Browse files
timon-schellingastro
authored andcommitted
fix: replace deprecated hardware.opengl.enable with hardware.graphics.enable
1 parent bcabdff commit f71f275

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/graphics.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ nixpkgs.lib.nixosSystem {
6969
package != ""
7070
) (lib.splitString " " packages));
7171

72-
hardware.opengl.enable = true;
72+
hardware.graphics.enable = true;
7373
})
7474
];
7575
}

examples/qemu-vnc.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ nixpkgs.lib.nixosSystem {
5858
displayManager.autoLogin.user = "user";
5959
};
6060

61-
hardware.opengl.enable = true;
61+
hardware.graphics.enable = true;
6262

6363
environment.systemPackages = with pkgs; [
6464
xdg-utils # Required

0 commit comments

Comments
 (0)