Desktop : Better GPU support.
This commit is contained in:
parent
29e01ae75b
commit
02c36335bd
|
@ -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 = {
|
||||
|
|
Reference in a new issue