add video driver
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ "kvm-amd" "amdgpu" ];
|
||||||
boot.kernelParams = [ "psmouse.synaptics_intertouch=0" ];
|
boot.kernelParams = [ "psmouse.synaptics_intertouch=0" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
@@ -47,4 +47,17 @@
|
|||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
hardware.opengl.driSupport = true;
|
||||||
|
# For 32 bit applications
|
||||||
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
|
hardware.opengl.extraPackages = with pkgs; [
|
||||||
|
amdvlk
|
||||||
|
];
|
||||||
|
# For 32 bit applications
|
||||||
|
# Only available on unstable
|
||||||
|
hardware.opengl.extraPackages32 = with pkgs; [
|
||||||
|
driversi686Linux.amdvlk
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ in {
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
alsaUtils
|
alsaUtils
|
||||||
alacritty
|
alacritty
|
||||||
|
enlightenment.terminology
|
||||||
bitwarden
|
bitwarden
|
||||||
chromium
|
chromium
|
||||||
cryptomator
|
cryptomator
|
||||||
@@ -92,10 +93,6 @@ in {
|
|||||||
wtype
|
wtype
|
||||||
apache-directory-studio
|
apache-directory-studio
|
||||||
firefox
|
firefox
|
||||||
|
|
||||||
|
|
||||||
onlyoffice-bin
|
|
||||||
# kexi
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# nixpkgs.config.permittedInsecurePackages = [
|
# nixpkgs.config.permittedInsecurePackages = [
|
||||||
|
|||||||
Reference in New Issue
Block a user