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 = [
./hardware-configuration.nix
@ -19,10 +24,9 @@
pkgs.kitty.terminfo
];
# NVIDIA drivers
hardware = {
graphics.enable = true;
nvidia.open = false; # Set to false/true for proprietary/open drivers
services.smartd = {
enable = lib.mkForce false;
autodetect = lib.mkForce false;
};
liv.nvidia.enable = true;

View file

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