mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
fix: disable smartd for violet since it uses a raid controller, centralize nvidia config
This commit is contained in:
parent
073321ee0c
commit
12efbc7bf2
2 changed files with 10 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue