Skip to content

Commit

Permalink
Add back nvidia... again
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Jan 13, 2024
1 parent d8c97e6 commit 772714e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion system/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ username, hostname, pkgs, ... }:
{ config, username, hostname, pkgs, ... }:
{
imports =
[
Expand Down Expand Up @@ -84,6 +84,21 @@
hardware = {
pulseaudio.enable = false;
opengl.enable = true;

nvidia = {
open = false;
modesetting.enable = false;
package = config.boot.kernelPackages.nvidiaPackages.stable;

prime = {
offload = {
enable = false;
enableOffloadCmd = false;
};
amdgpuBusId = "PCI:5:0:0";
nvidiaBusId = "PCI:1:0:0";
};
};
};

programs = {
Expand Down

0 comments on commit 772714e

Please sign in to comment.