summaryrefslogtreecommitdiffstats
path: root/modules/hardware
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2024-04-29 17:05:09 -0400
committerJon Santmyer <jon@jonsantmyer.com>2024-04-29 17:05:09 -0400
commit69857d405fcc45194b4a4c4bb1f9946c05e50631 (patch)
tree461c6adc10b88c5e86ea38b70078bbf1500b5984 /modules/hardware
parent7b79203f54853733d4fae88943829d0e24e6e49f (diff)
downloadnix-config-69857d405fcc45194b4a4c4bb1f9946c05e50631.tar.gz
nix-config-69857d405fcc45194b4a4c4bb1f9946c05e50631.tar.bz2
nix-config-69857d405fcc45194b4a4c4bb1f9946c05e50631.zip
add security nix, more programs for desktop
Diffstat (limited to 'modules/hardware')
-rw-r--r--modules/hardware/gpu.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hardware/gpu.nix b/modules/hardware/gpu.nix
index d7dfe17..fd696ab 100644
--- a/modules/hardware/gpu.nix
+++ b/modules/hardware/gpu.nix
@@ -45,7 +45,7 @@ in {
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
- package = config.boot.kernelPackages.nvidiaPackages.beta;
+ package = config.boot.kernelPackages.nvidiaPackages.production;
};
boot.initrd.kernelModules = [
"nvidia"
@@ -54,7 +54,7 @@ in {
"nvidia_drm"
];
boot.extraModprobeConfig = ''
- options modeset=1 fbdev=1
+ options nvidia-drm modeset=1
'';
})
]);