getmail: restrict platform to Linux

Need to limit this module to Linux since it uses systemd.
This commit is contained in:
Robert Helgesson 2019-06-27 20:04:18 +02:00
parent 68fe8623ad
commit 8f7cd53204
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 2 additions and 1 deletions

View file

@ -1125,6 +1125,7 @@ in
{ {
time = "2019-06-19T17:49:29+00:00"; time = "2019-06-19T17:49:29+00:00";
condition = hostPlatform.isLinux;
message = '' message = ''
A new module is available: `services.getmail`. A new module is available: `services.getmail`.
''; '';

View file

@ -51,7 +51,7 @@ let
(loadModule ./programs/firefox.nix { }) (loadModule ./programs/firefox.nix { })
(loadModule ./programs/fish.nix { }) (loadModule ./programs/fish.nix { })
(loadModule ./programs/fzf.nix { }) (loadModule ./programs/fzf.nix { })
(loadModule ./programs/getmail.nix { }) (loadModule ./programs/getmail.nix { condition = hostPlatform.isLinux; })
(loadModule ./programs/git.nix { }) (loadModule ./programs/git.nix { })
(loadModule ./programs/gnome-terminal.nix { }) (loadModule ./programs/gnome-terminal.nix { })
(loadModule ./programs/go.nix { }) (loadModule ./programs/go.nix { })