mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
chromium: only enable for the linux
platform
This commit is contained in:
parent
dd25fbcb4b
commit
6630cfbe16
2 changed files with 4 additions and 2 deletions
|
@ -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'.
|
||||
'';
|
||||
|
|
|
@ -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
|
|||
<nixpkgs/nixos/modules/misc/assertions.nix>
|
||||
<nixpkgs/nixos/modules/misc/lib.nix>
|
||||
<nixpkgs/nixos/modules/misc/meta.nix>
|
||||
];
|
||||
]
|
||||
++
|
||||
optional pkgs.stdenv.isLinux ./programs/chromium.nix;
|
||||
|
||||
pkgsModule = {
|
||||
options.nixosSubmodule = mkOption {
|
||||
|
|
Loading…
Reference in a new issue