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 { })