feat: many changes

This commit is contained in:
Zoty 2026-03-28 21:26:04 -03:00
parent 8cd75009d9
commit 3d48e35de5
Signed by: Zoty
SSH key fingerprint: SHA256:WsGEGivgl37t3Mth6uugXMOgMCTR7QolIepNbC+j/tA
14 changed files with 304 additions and 71 deletions

View file

@ -27,13 +27,17 @@
services.xserver.videoDrivers = [ "nvidia" ];
boot = {
initrd.kernelModules = [ "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ];
initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-intel" "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm" ];
initrd.compressor = "zstd";
kernelParams = [ "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ];
loader = {
grub = {
enable = true;
device = "nodev";
efiSupport = true;
configurationLimit = 2;
};
efi.canTouchEfiVariables = true;
};
@ -45,6 +49,8 @@
__GLX_VENDOR_LIBRARY_NAME = "nvidia";
MOZ_ENABLE_WAYLAND = "1";
MOZ_USE_XINPUT2 = "1";
__GL_SYNC_TO_VBLANK = "0";
__GL_MaxFramesAllowed = "1";
};
};
}