From d5bf68d77dacd523793df097f960584ddd9d0462 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 30 May 2019 23:25:30 +0200 Subject: [PATCH] xsuspender: limit module to Linux --- modules/misc/news.nix | 1 + modules/modules.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/misc/news.nix b/modules/misc/news.nix index 5e066e7b..4820ef8e 100644 --- a/modules/misc/news.nix +++ b/modules/misc/news.nix @@ -1094,6 +1094,7 @@ in { time = "2019-05-30T17:49:29+00:00"; + condition = hostPlatform.isLinux; message = '' A new module is available: 'services.xsuspender'. ''; diff --git a/modules/modules.nix b/modules/modules.nix index ed01defe..52420212 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -128,7 +128,7 @@ let (loadModule ./services/xcape.nix { condition = hostPlatform.isLinux; }) (loadModule ./services/xembed-sni-proxy.nix { condition = hostPlatform.isLinux; }) (loadModule ./services/xscreensaver.nix { }) - (loadModule ./services/xsuspender.nix { }) + (loadModule ./services/xsuspender.nix { condition = hostPlatform.isLinux; }) (loadModule ./systemd.nix { }) (loadModule ./xcursor.nix { }) (loadModule ./xresources.nix { })