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 = [
|
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;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue