27 lines
790 B
Nix
27 lines
790 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
unstable = import (fetchTarball https://nixos.org/channels/nixos-unstable/nixexprs.tar.xz) {
|
|
config = { allowUnfree = true; };
|
|
};
|
|
in {
|
|
environment.systemPackages = with pkgs; [
|
|
claude-code # Using custom overlay with version 2.0.55
|
|
unstable.code-cursor
|
|
unstable.vscode
|
|
# android-studio-full
|
|
# android-tools
|
|
];
|
|
|
|
# Electron apps Wayland optimizations for better performance
|
|
environment.sessionVariables = {
|
|
ELECTRON_OZONE_PLATFORM_HINT = "auto";
|
|
};
|
|
|
|
nixpkgs.config.android_sdk.accept_license = true;
|
|
|
|
programs.adb.enable = true; # sets up udev + adb group
|
|
# android-udev-rules removed in 25.11 - superseded by built-in systemd uaccess rules
|
|
|
|
users.users.dominik.extraGroups = [ "adbusers" ];
|
|
}
|