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