Added GPU Configs
This commit is contained in:
1 parent
2fb0669839
commit
ceb6684316
1 file changed
+10
-2
+10
-2
@@ -1,6 +1,5 @@
|
|||||||
{ user }:
|
{ user }:
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, config, ... }: {
|
||||||
{
|
|
||||||
imports = [ ./hl-bigbox1.hardware-configuration.nix ];
|
imports = [ ./hl-bigbox1.hardware-configuration.nix ];
|
||||||
# firmware updater
|
# firmware updater
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
@@ -21,6 +20,15 @@
|
|||||||
# Docker
|
# Docker
|
||||||
virtualisation.docker.enableNvidia = true;
|
virtualisation.docker.enableNvidia = true;
|
||||||
# Kernel
|
# Kernel
|
||||||
|
# Nvidia Settings
|
||||||
|
hardware.nvidia = {
|
||||||
|
modesetting.enable = true;
|
||||||
|
powerManagement.enable = false;
|
||||||
|
powerManagement.finegrained = false;
|
||||||
|
open = false;
|
||||||
|
nvidiaSettings = true;
|
||||||
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||||
|
};
|
||||||
# boot.initrd.kernelModules = [ "amdgpu" "evdi" ];
|
# boot.initrd.kernelModules = [ "amdgpu" "evdi" ];
|
||||||
# hardware.opengl.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk ];
|
# hardware.opengl.extraPackages = with pkgs; [ rocmPackages.clr.icd amdvlk ];
|
||||||
# home-manager.users.${user.name}.programs.zsh.initExtra = ''
|
# home-manager.users.${user.name}.programs.zsh.initExtra = ''
|
||||||
|
|||||||
Reference in new issue
Block a user