From 8f7cd532040d14e3db907c6ffaa4a149e443d5e4 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 27 Jun 2019 20:04:18 +0200 Subject: [PATCH] getmail: restrict platform to Linux Need to limit this module to Linux since it uses systemd. --- 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 2dafe1fd..93e649c4 100644 --- a/modules/misc/news.nix +++ b/modules/misc/news.nix @@ -1125,6 +1125,7 @@ in { time = "2019-06-19T17:49:29+00:00"; + condition = hostPlatform.isLinux; message = '' A new module is available: `services.getmail`. ''; diff --git a/modules/modules.nix b/modules/modules.nix index 1fffb594..55a420f5 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -51,7 +51,7 @@ let (loadModule ./programs/firefox.nix { }) (loadModule ./programs/fish.nix { }) (loadModule ./programs/fzf.nix { }) - (loadModule ./programs/getmail.nix { }) + (loadModule ./programs/getmail.nix { condition = hostPlatform.isLinux; }) (loadModule ./programs/git.nix { }) (loadModule ./programs/gnome-terminal.nix { }) (loadModule ./programs/go.nix { })