thelio76: video

This commit is contained in:
Alex 2024-07-30 18:01:36 -04:00
parent 73be6537dd
commit e495fba5a0
3 changed files with 9 additions and 0 deletions

View File

@ -13,6 +13,10 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.kernelParams = [
"video=DP-2:1920x1080@60"
"video=HDMI-1:1920x1080@60"
];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.initrd.luks.devices."luks-b748a776-5e2c-4809-927e-1f4c051b9460".device = "/dev/disk/by-uuid/b748a776-5e2c-4809-927e-1f4c051b9460"; boot.initrd.luks.devices."luks-b748a776-5e2c-4809-927e-1f4c051b9460".device = "/dev/disk/by-uuid/b748a776-5e2c-4809-927e-1f4c051b9460";

View File

@ -57,6 +57,8 @@
monitor = "HDMI-1"; monitor = "HDMI-1";
modules-left = "xworkspaces"; modules-left = "xworkspaces";
modules-center = "date"; modules-center = "date";
modules-right = "systray";
}; };
"module/xworkspaces" = { "module/xworkspaces" = {

View File

@ -57,6 +57,7 @@
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
cacert
direnv direnv
dxvk dxvk
envsubst envsubst
@ -68,6 +69,8 @@
# Hardware # Hardware
hardware.graphics.enable = true; hardware.graphics.enable = true;
hardware.graphics.driSupport32Bit = true; # For 32 bit applications
hardware.graphics.extraPackages = [ hardware.graphics.extraPackages = [
pkgs.intel-media-driver pkgs.intel-media-driver
]; ];