From 3c4f73235e69e3d761abcc87907d5f8878aabda9 Mon Sep 17 00:00:00 2001 From: Zeph Levy <171337931+ZephLevy@users.noreply.github.com> Date: Sat, 20 Dec 2025 22:09:22 +0100 Subject: [PATCH] Add android studio and flutter --- nixos/configuration.nix | 2 ++ nixos/pkgs.nix | 14 ++++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 5dcb434..eaf0f85 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -54,6 +54,8 @@ "alsa.use-ucm" = false; }; }; + + programs.nix-ld.enable = true; nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/nixos/pkgs.nix b/nixos/pkgs.nix index 03361c9..0772a17 100644 --- a/nixos/pkgs.nix +++ b/nixos/pkgs.nix @@ -23,6 +23,10 @@ tinymist ffmpeg localsend + flutter + jdk17 + android-studio + # Rust toolchain cargo @@ -81,12 +85,10 @@ ]); # Unfree pkgs - nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ - "steam" - "steam-original" - "steam-unwrapped" - "steam-run" - ]; + nixpkgs.config = { + allowUnfree = true; + android_sdk.accept_license = true; + }; }