mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
Revert "modules.packages.android-studio: remove"
This reverts commit 9ef5d5f35d.
This commit is contained in:
@@ -111,7 +111,7 @@ inputs:
|
||||
nfs."/" = [ "192.168.84.0/24" ];
|
||||
};
|
||||
bugs = [ "xmunet" "backlight" "amdpstate" "iwlwifi" ];
|
||||
packages = { mathematica = {}; vasp = {}; };
|
||||
packages = { mathematica = {}; vasp = {}; android-studio = {}; };
|
||||
};
|
||||
boot.loader.grub =
|
||||
{
|
||||
|
||||
9
modules/packages/android-studio.nix
Normal file
9
modules/packages/android-studio.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
inputs:
|
||||
{
|
||||
options.nixos.packages.android-studio = let inherit (inputs.lib) mkOption types; in mkOption
|
||||
{ type = types.nullOr (types.submodule {}); default = null; };
|
||||
config = let inherit (inputs.config.nixos.packages) android-studio; in inputs.lib.mkIf (android-studio != null)
|
||||
{
|
||||
nixos.packages.packages._packages = with inputs.pkgs; [ androidStudioPackages.stable.full ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user