fix: disable smartd for violet since it uses a raid controller, centralize nvidia config

This commit is contained in:
Ahwx 2025-04-24 16:31:33 +02:00
parent 073321ee0c
commit 12efbc7bf2
2 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,9 @@
{ pkgs, config, ... }: {
pkgs,
config,
lib,
...
}:
{ {
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
@ -19,10 +24,9 @@
pkgs.kitty.terminfo pkgs.kitty.terminfo
]; ];
# NVIDIA drivers services.smartd = {
hardware = { enable = lib.mkForce false;
graphics.enable = true; autodetect = lib.mkForce false;
nvidia.open = false; # Set to false/true for proprietary/open drivers
}; };
liv.nvidia.enable = true; liv.nvidia.enable = true;

View file

@ -18,6 +18,7 @@ in
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
graphics = { graphics = {
enable = true; enable = true;
nvidia.open = false; # Set to false/true for proprietary/open drivers
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# amdvlk # amdvlk
]; ];