diff --git a/modules/misc/news.nix b/modules/misc/news.nix index 558806f9..680df418 100644 --- a/modules/misc/news.nix +++ b/modules/misc/news.nix @@ -753,6 +753,7 @@ in { time = "2018-08-19T20:46:09+00:00"; + condition = pkgs.stdenv.isLinux; message = '' A new modules is available: 'programs.chromium'. ''; diff --git a/modules/modules.nix b/modules/modules.nix index 97caa4c0..c50ed931 100644 --- a/modules/modules.nix +++ b/modules/modules.nix @@ -28,7 +28,6 @@ let ./programs/bash.nix ./programs/beets.nix ./programs/browserpass.nix - ./programs/chromium.nix ./programs/command-not-found/command-not-found.nix ./programs/direnv.nix ./programs/eclipse.nix @@ -93,7 +92,9 @@ let - ]; + ] + ++ + optional pkgs.stdenv.isLinux ./programs/chromium.nix; pkgsModule = { options.nixosSubmodule = mkOption {