From ad9a155d8b7085824b3de487e44ddc7af8a0b9df Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sun, 24 May 2026 06:12:33 +0200 Subject: feat(workstation): add android-studio --- nixos/profiles/workstation/default.nix | 8 ++++++++ nixos/profiles/workstation/dev.nix | 1 + 2 files changed, 9 insertions(+) (limited to 'nixos/profiles') diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index 1b1699b..f88f77c 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -59,6 +59,14 @@ in autologinOnce = true; # only in the first tty once per boot }; + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + # The device mirroring feature is nice. Also I couldn't get kotlin-lsp (nor any of the open source + # Kotlin language servers) to reliably resolve references and show documentation on hover. + "android-studio-stable" + ]; + environment.systemPackages = with pkgs; [ npins (callPackage "${sources.agenix}/pkgs/agenix.nix" {}) diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix index e3baa5f..631ef93 100644 --- a/nixos/profiles/workstation/dev.nix +++ b/nixos/profiles/workstation/dev.nix @@ -26,6 +26,7 @@ pkgs-unstable.zed-editor vscodium + android-studio # I'm installing extensions via my install-imperative script. platformio -- cgit v1.3.1