mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
wayland
This commit is contained in:
parent
1dceb31d30
commit
3370487652
4 changed files with 22 additions and 6 deletions
|
|
@ -20,6 +20,15 @@
|
|||
|
||||
# Use linux_zen kernel for performance improvements
|
||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_zen;
|
||||
boot.kernelParams = [
|
||||
"nvidia-drm.modeset=1"
|
||||
"nvidia_drm.fbdev=1"
|
||||
];
|
||||
|
||||
# Fix for resume lockups on Systemd 256+ (Common in 2025/2026)
|
||||
systemd.services.systemd-suspend.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
|
||||
systemd.services.systemd-hibernate.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
|
||||
systemd.services.systemd-hybrid-sleep.environment.SYSTEMD_SLEEP_FREEZE_USER_SESSIONS = "false";
|
||||
|
||||
# --- Bootloader: systemd-boot ---
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue