This commit is contained in:
benstrb 2026-03-28 00:04:05 +01:00
parent 86090fa40e
commit f86275f331
5 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{config, ...}: {
flake.modules.nixos.desktop = {
nixpkgs.hostPlatform = "x86_64-linux";
hardware = {
graphics = {
enable = true;
enable32Bit = true;
};
};
nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
open = false;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
};
}