Desktop : Better GPU support.

This commit is contained in:
Dmitry Voronin 2024-01-24 19:36:59 +03:00
parent 29e01ae75b
commit 02c36335bd

View file

@ -9,6 +9,7 @@
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.kernelModules = [ "amdgpu" ];
# Network.
networking.networkmanager.enable = true;
@ -31,12 +32,16 @@
# GUI.
services.xserver.enable = true;
services.xserver.videoDrivers = [ "amdgpu" ];
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.xserver = {
layout = "us";
xkbVariant = "";
};
hardware.opengl.extraPackages = with pkgs; [
amdvlk
];
# Printing.
services.printing = {