feat: refactor

This commit is contained in:
Barrett Ruth 2026-02-13 21:34:53 -05:00
parent 332a7dbfbe
commit 30286dbedb
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
13 changed files with 231 additions and 151 deletions

20
hosts/xps15/hardware.nix Normal file
View file

@ -0,0 +1,20 @@
{ ... }:
{
boot.kernelParams = [
"nvidia-drm.modeset=1"
"ibt=off"
];
hardware.nvidia = {
open = true;
modesetting.enable = true;
prime = {
offload.enable = true;
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
};
hardware.graphics.enable = true;
}