From ca270b5e879683ac3cf8e6f57e9e2671368ecc1a Mon Sep 17 00:00:00 2001 From: root Date: Sun, 7 Jun 2020 17:45:03 -0700 Subject: [PATCH] Don't put desktops to sleep. --- fudo/profiles/desktop.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fudo/profiles/desktop.nix b/fudo/profiles/desktop.nix index 630dfc5..4cd06d8 100644 --- a/fudo/profiles/desktop.nix +++ b/fudo/profiles/desktop.nix @@ -123,6 +123,13 @@ with lib; hardware.pulseaudio.enable = true; + systemd.targets = { + sleep.enable = false; + suspend.enable = false; + hibernate.enable = false; + hybrid-sleep.enable = false; + }; + fonts = { enableFontDir = true; enableGhostscriptFonts = false;