fix!: change to stable 25.05, add nvidia hardware config

This commit is contained in:
2025-07-18 12:43:15 -07:00
parent 2c7d98c627
commit 239e65dab4
6 changed files with 27 additions and 28 deletions

View File

@@ -26,11 +26,6 @@
networking.hostName = meta.hostname;
networking.networkmanager.enable = true;
hardware.bluetooth.enable = true;
hardware.nvidia = {
modesetting.enable = true;
open = true;
videoAcceleration = true;
};
swapDevices = [
{
device = "/swapfile";
@@ -92,6 +87,8 @@
};
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = true;
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";

View File

@@ -62,6 +62,8 @@
openssh.authorizedKeys.keys = config.authorized_ssh;
};
hardware.graphics.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.open = true;
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
@@ -76,7 +78,7 @@
{
status = "enable";
criteria = "HDMI-A-1";
position = "0,0";
position = "1920,0";
mode = "1920x1080";
scale = 1.0;
}
@@ -84,7 +86,7 @@
status = "enable";
criteria = "DP-1";
position = "1920,0";
position = "0,0";
mode = "1920x1080@144Hz";
scale = 1.0;
}