hosts/TITAN: add headless nvidia gpu support

This commit is contained in:
Max Headroom 2023-02-11 02:13:07 +01:00
parent 9dd8d021ff
commit a567962809
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
{ lib, ... }:
{
services.xserver.videoDrivers = lib.mkOptionDefault [ "nvidia" ];
hardware.nvidia = {
nvidiaPersistenced = true;
};
}

View file

@ -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
]