feat: installed android studio for leyla

This commit is contained in:
Leyla Becker 2025-11-28 10:05:59 -06:00
parent 4cbb3d32b2
commit 9ed0958463
4 changed files with 38 additions and 1 deletions

View file

@ -46,6 +46,7 @@ in {
}) })
(lib.mkIf (hardware.directAccess.enable && config.user.isDesktopUser) { (lib.mkIf (hardware.directAccess.enable && config.user.isDesktopUser) {
anki.enable = true; anki.enable = true;
android-studio.enable = true;
makemkv.enable = true; makemkv.enable = true;
discord.enable = true; discord.enable = true;
signal-desktop-bin.enable = true; signal-desktop-bin.enable = true;

View file

@ -72,7 +72,7 @@
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;
users.users.eve = { users.users.eve = {
extraGroups = [ "libvirtd" ]; extraGroups = ["libvirtd"];
}; };
services.tailscale.enable = true; services.tailscale.enable = true;

View file

@ -0,0 +1,35 @@
{
lib,
pkgs,
config,
...
}: {
options.programs.android-studio = {
enable = lib.mkEnableOption "enable android-studio";
};
config = lib.mkIf config.programs.android-studio.enable (lib.mkMerge [
{
home.packages = with pkgs; [
android-studio
];
}
# TODO: create this
# (
# lib.mkIf config.impermanence.enable {
# home.persistence."/persist${config.home.homeDirectory}" = {
# directories = [
# # configuration
# "${config.xdg.configHome}/Google/AndroidStudio"
# # Android SDK
# ".android"
# # Gradle cache
# ".gradle"
# # Android Studio projects cache
# "${config.xdg.cacheHome}/Google/AndroidStudio"
# ];
# };
# }
# )
]);
}

View file

@ -1,5 +1,6 @@
{...}: { {...}: {
imports = [ imports = [
./android-studio.nix
./firefox.nix ./firefox.nix
./signal.nix ./signal.nix
./bitwarden.nix ./bitwarden.nix