jounalctl gives the error -

Nov 16 22:34:46 nixos kernel: input: MSFT0001:01 04F3:3140 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-MSFT00
01:01/0018:04F3:3140.0001/input/input15
Nov 16 22:34:46 nixos kernel: hid-multitouch 0018:04F3:3140.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:01 04F3:3140] on i2c-MSFT0
001:01
Nov 16 22:34:46 nixos kernel: mousedev: PS/2 mouse device common for all mice
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Waiting for firmware download to complete
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Firmware loaded in 1603830 usecs
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Waiting for device to boot
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Device booted in 14713 usecs
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Applying Intel DDC parameters completed
Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Firmware revision 0.4 build 249 week 27 2023
Nov 16 22:34:47 nixos kernel: NVRM nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025) returned from PlatformRequestHandler failed to get target temp from SBIOS @ platform_request_handler_ctrl.c:2146
Nov 16 22:34:47 nixos kernel: NVRM nvAssertFailedNoLog: Assertion failed: PRH failed to update thermal limit! @ platform_request_handler.c:685
Nov 16 22:34:47 nixos systemd-modules-load[497]: Inserted module 'nvidia_uvm'
Nov 16 22:34:47 nixos kernel: nvidia-uvm: Loaded the UVM driver, major device number 237.
Nov 16 22:34:47 nixos kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Nov 16 22:34:47 nixos systemd-modules-load[497]: Inserted module 'nvidia_drm'
Nov 16 22:34:47 nixos systemd[1]: Finished Load Kernel Modules.

I don’t really know if this is crashing the OS, but this was the only error that I could find. I have intel processor, plus Nvidia MX450 dedicated GPU. I am using hyprland on NixOS. My video and audio settings in hardware-configuration.nix are as follows :

# Graphics Stuff

  hardware.opengl = {
    enable = true;
    driSupport = true;
    driSupport32Bit = true;
  };

  hardware.nvidia = {
    modesetting.enable = true;
    open = true;
    nvidiaSettings = true; 
    package = config.boot.kernelPackages.nvidiaPackages.stable;
  };

  hardware.nvidia.prime = {
    offload = {
      enable = true;
      enableOffloadCmd = true;
    };
    intelBusId = "PCI:00:02:0";
    nvidiaBusId = "PCI:01:00:0";
  };

  # Audio Stuff

  services.pipewire = {
    enable = true;
    alsa.enable = true;
    audio.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
  }; 

Hyprland parameters are as follows :

programs.hyprland = {
    enable = true; 
    xwayland = {
      enable = true;
    };
  };

x11 parameters :

services.xserver = {
    enable = true;
    layout = "us";
    videoDrivers = ["nvidia"];
    libinput = {
      enable = true;
    };
  };