diff options
| author | Martin Fischer <martin@push-f.com> | 2026-05-24 06:12:33 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-05-25 07:23:21 +0200 |
| commit | 82c47c769541f3be4f542ef47aed2da30ee6d412 (patch) | |
| tree | f86443fab0b03296a272602f2d731df0339950a1 | |
| parent | 3c6cc320214b92d0cd5310d2c5b9d7510de9c53f (diff) | |
feat(workstation): add android-studio
| -rw-r--r-- | nixos/profiles/workstation/default.nix | 8 | ||||
| -rw-r--r-- | nixos/profiles/workstation/dev.nix | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index 1b1699b..ebdf549 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) [ + # I couldn't get JetBrain's kotlin-lsp (nor any of the open source Kotlin language servers) + # to reliably resolve all references and show me 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 |
