Revert "modules.packages.android-studio: remove"

This reverts commit 9ef5d5f35d.
This commit is contained in:
2025-06-30 09:18:53 +08:00
parent ab3300d7b4
commit 1147ec64b7
2 changed files with 10 additions and 1 deletions

View File

@@ -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 =
{

View 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 ];
};
}