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 = {
@ -126,20 +131,20 @@
# Filesystems.
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
device = "/dev/storage/hot";
fsType = "ext4";
options = [ "nofail" ];
};
fileSystems."/storage/cold_1" = {
device = "/dev/storage/cold_1";
fsType = "ext4";
device = "/dev/storage/cold_1";
fsType = "ext4";
options = [ "noauto" "nofail" ];
};
fileSystems."/storage/cold_2" = {
device = "/dev/storage/cold_2";
fsType = "ext4";
device = "/dev/storage/cold_2";
fsType = "ext4";
options = [ "noauto" "nofail" ];
};