diff --git a/machines/WinMax2/configuration.nix b/machines/WinMax2/configuration.nix index 65980d5..90d5d43 100755 --- a/machines/WinMax2/configuration.nix +++ b/machines/WinMax2/configuration.nix @@ -28,12 +28,18 @@ initrd.systemd.enable = true; # Plymouth doesn't support fractional scaling :( plymouth.extraConfig = "DeviceScale=2"; - }; networking.hostName = "WinMax2"; # Define your hostname. networking.networkmanager.enable = true; # Enable networking + # Sleep fixes + boot.kernelParams = [ "rtc_cmos.use_acpi_alarm=1" ]; + services.udev.extraRules = '' +ACTION=="add", SUBSYSTEM=="i2c", ATTR{name}=="GXTP7385:00", ATTR{power/wakeup}="disabled" +ACTION=="add", SUBSYSTEM=="i2c", ATTR{name}=="PNP0C50:00", ATTR{power/wakeup}="disabled" + ''; + # Allow unfree packages nixpkgs.config.allowUnfree = true; @@ -56,6 +62,11 @@ user = "toast"; desktopSession = "plasmawayland"; }; + # Need patched mesa + devices.steamdeck = { + enableMesaPatches = true; + enableVendorRadv = true; + }; decky-loader = { enable = true; };