hosts/TITAN: add headless nvidia gpu support
This commit is contained in:
parent
9dd8d021ff
commit
a567962809
2 changed files with 9 additions and 0 deletions
8
hosts/TITAN/extras/nvidia-ml.nix
Normal file
8
hosts/TITAN/extras/nvidia-ml.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
services.xserver.videoDrivers = lib.mkOptionDefault [ "nvidia" ];
|
||||
hardware.nvidia = {
|
||||
nvidiaPersistenced = true;
|
||||
};
|
||||
}
|
|
@ -12,6 +12,7 @@ in
|
|||
./extras/ddcci-backlight.nix
|
||||
./extras/fbi-downloader.nix
|
||||
./extras/ipfs-cluster.nix
|
||||
./extras/nvidia-ml.nix
|
||||
(import ../../users "desktop").users.max
|
||||
inputs.agenix.nixosModules.age
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue