1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2025-01-13 04:19:47 +01:00

slimbook/hero: Fix README formatting

This commit is contained in:
LucasFA 2024-12-22 22:27:40 +00:00
parent 5983a4f23f
commit 8a80339b5b
No known key found for this signature in database

View file

@ -2,13 +2,15 @@
This configuration is for the Slimbook Hero with an i7-13620H and an RTX 4060. This configuration is for the Slimbook Hero with an i7-13620H and an RTX 4060.
Model name: SLIMBOOK HERO-RPL-RTX. Model name: SLIMBOOK HERO-RPL-RTX.
To run software on your Nvidia GPU, use the `nvidia-offload` command. For example: To run software on your Nvidia GPU, use the `nvidia-offload` command. For example:
``` ```bash
nvidia-offload `nix-shell -p glxinfo --run 'glxgears'` nvidia-offload `nix-shell -p glxinfo --run 'glxgears'`
``` ```
For more information, visit: https://wiki.nixos.org/wiki/NVIDIA#Offload_mode For more information, visit: https://wiki.nixos.org/wiki/NVIDIA#Offload_mode
<details><summary>System information</summary> <details><summary>System information</summary>
```bash ```bash
>neofetch >neofetch
OS: NixOS 24.11.20241216.3945713 (Vicuna) x86_64 OS: NixOS 24.11.20241216.3945713 (Vicuna) x86_64
@ -54,6 +56,7 @@ $ lspci -nn
03:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc 2550 NVMe SSD (DRAM-less) [1344:5416] (rev 01) 03:00.0 Non-Volatile memory controller [0108]: Micron Technology Inc 2550 NVMe SSD (DRAM-less) [1344:5416] (rev 01)
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15) 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
``` ```
</details> </details>
## Power Management ## Power Management
@ -61,6 +64,7 @@ My testing shows suspend issues (tested in GNOME) when using `hardware.nvidia.po
This seems related to this [issue](https://github.com/NixOS/nixpkgs/issues/336723), which is offered a solution in [this discouse thread](https://discourse.nixos.org/t/suspend-resume-cycling-on-system-resume/32322/12) with this config: This seems related to this [issue](https://github.com/NixOS/nixpkgs/issues/336723), which is offered a solution in [this discouse thread](https://discourse.nixos.org/t/suspend-resume-cycling-on-system-resume/32322/12) with this config:
<details> <details>
```nix ```nix
systemd = { systemd = {
services."gnome-suspend" = { services."gnome-suspend" = {
@ -98,6 +102,7 @@ systemd = {
}; };
}; };
``` ```
</details> </details>
At the same time, the Nvidia driver reports power management to still be working even with `nvidia.powerManagement.enable = false`: At the same time, the Nvidia driver reports power management to still be working even with `nvidia.powerManagement.enable = false`: