From 22bb5eb5647e7039d57900fe286f6d0bf8e4b44c Mon Sep 17 00:00:00 2001 From: NullBite Date: Sat, 29 Jun 2024 00:25:26 -0400 Subject: [PATCH] slab: use shutdown for hibernate --- hosts/slab/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/slab/configuration.nix b/hosts/slab/configuration.nix index 02d2dd4..1cf9353 100644 --- a/hosts/slab/configuration.nix +++ b/hosts/slab/configuration.nix @@ -110,6 +110,11 @@ unitConfig.DefaultDependencies = "no"; }); + # might make hibernate better idk + systemd.sleep.extraConfig = '' + disk=shutdown + ''; + services.logind = { lidSwitch = "lock"; suspendKey = "hibernate";