From 7f0600580fb06b9264f40f67334da4208e3d7dfd Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 15 Apr 2023 10:11:30 -0400 Subject: [PATCH] more attempts to fix sleep --- modules/nixos/hardware/sleep.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/nixos/hardware/sleep.nix b/modules/nixos/hardware/sleep.nix index 205f737..66d9d0a 100644 --- a/modules/nixos/hardware/sleep.nix +++ b/modules/nixos/hardware/sleep.nix @@ -13,6 +13,9 @@ # /r/archlinux/comments/y7b97e/my_computer_wakes_up_immediately_after_i_suspend/isu99sr/ echo GPP0 > /proc/acpi/wakeup + # Possibly need to wait a beat for settings to kick in + sleep 2 + set -e '';