From cad09d5924e8a2d116982ad81deb32dacf8bb588 Mon Sep 17 00:00:00 2001 From: NullBite Date: Mon, 5 Feb 2024 14:41:26 +0100 Subject: [PATCH] slab: disable suspend --- hosts/slab/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/slab/configuration.nix b/hosts/slab/configuration.nix index baacd23..1982631 100644 --- a/hosts/slab/configuration.nix +++ b/hosts/slab/configuration.nix @@ -58,6 +58,11 @@ }; }; + systemd.targets = lib.genAttrs ["suspend" "hybrid-sleep" "suspend-then-hibernate"] (_: { + enable = false; + unitConfig.DefaultDependencies = "no"; + }); + services.xserver.videoDrivers = ["amdgpu"]; # {{{ old config