aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-05-24 06:12:33 +0200
committerMartin Fischer <martin@push-f.com>2026-05-24 08:50:00 +0200
commit4cad3fb48461f8c6bcc542ef37d14d7d1a3bb0ac (patch)
tree930b3f614c2f3a38d7c5a6ad45a3914ebc47f862
parent570404a2d6fe9a4e3602d73513a5d40275da747a (diff)
feat(workstation): add android-studio
-rw-r--r--nixos/profiles/workstation/default.nix6
-rw-r--r--nixos/profiles/workstation/dev.nix1
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