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-24 08:50:00 +0200 |
| commit | 4cad3fb48461f8c6bcc542ef37d14d7d1a3bb0ac (patch) | |
| tree | 930b3f614c2f3a38d7c5a6ad45a3914ebc47f862 | |
| parent | 570404a2d6fe9a4e3602d73513a5d40275da747a (diff) | |
feat(workstation): add android-studio
| -rw-r--r-- | nixos/profiles/workstation/default.nix | 6 | ||||
| -rw-r--r-- | nixos/profiles/workstation/dev.nix | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index 2c70f0e..60424a5 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -58,6 +58,12 @@ in autologinOnce = true; # only in the first tty once per boot }; + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "android-studio-stable" # switch to an open source Kotlin LSP once there is one that works well + ]; + 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 3182cc5..46b40bb 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 |
