From 15397a871a626df426bedf2ba073e2c13de58678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 20 Aug 2023 17:46:27 -0300 Subject: [PATCH] monolith: fix suspending by disabling suspend2idle --- hosts/monolith.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/monolith.nix b/hosts/monolith.nix index 5d09568..2d2a0db 100644 --- a/hosts/monolith.nix +++ b/hosts/monolith.nix @@ -18,6 +18,9 @@ in boot.kernelParams = [ "video=DP-1:1920x1080@144" ]; + systemd.sleep.extraConfig = '' + SuspendState=mem + ''; hardware.opengl.driSupport = true; # # For 32 bit applications