From 51040d9e35b683057751081d9b0a791a2a0cee5f Mon Sep 17 00:00:00 2001 From: tomoron Date: Thu, 6 Feb 2025 03:38:35 +0100 Subject: [PATCH] enable amdgpu virtual framebuffer, add screen to server packages --- hosts/server.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/server.nix b/hosts/server.nix index ca8392e..5967c23 100644 --- a/hosts/server.nix +++ b/hosts/server.nix @@ -15,10 +15,15 @@ services.xserver.videoDrivers = [ "nvidia" ]; + boot.extraModprobeConfig = '' + options amdgpu virtual_display=1 + ''; + environment.systemPackages = with pkgs; [ zfs nvidia-docker libnvidia-container + screen ]; boot.supportedFilesystems = [ "zfs" ];