default.nix (1258B) - Raw
1 { config, pkgs, ... }: 2 { 3 environment.systemPackages = with pkgs; [ 4 bats 5 unzip 6 rclone 7 nodejs 8 awscli2 9 mysql80 10 kubectl 11 kubectx 12 terraform 13 github-cli 14 docker-compose 15 gcloud-wrapped 16 kubectl-node-shell 17 ssm-session-manager-plugin 18 pkgs.pkgs-unstable.claude-code 19 ]; 20 21 home-manager.users.${config.mj.username} = { 22 home.sessionVariables = { 23 GOFLAGS = "-tags=big,integration,cluster_integration"; 24 GOPRIVATE = "github.com/chronosphereio"; 25 BUILDKIT_COLORS = "run=123,20,245:error=yellow:cancel=blue:warning=white"; 26 CLAUDE_CODE_USE_VERTEX = "1"; 27 CLOUD_ML_REGION = "europe-west1"; 28 ANTHROPIC_VERTEX_PROJECT_ID = "chronosphere-rc-b"; 29 }; 30 programs = { 31 git.settings = { 32 url."git@github.com:".insteadOf = "https://github.com"; 33 user.useConfigOnly = true; 34 }; 35 bash.initExtra = '' 36 droidcli() { 37 (cd $HOME/dev/monorepo; bin/droidcli "$@") 38 } 39 mj_ps1_extra() { 40 if [[ $PWD =~ $HOME/dev ]]; then 41 kubectl config view --minify -o jsonpath={.current-context}:{..namespace} 42 fi 43 } 44 export PS1=$(echo "$PS1" | sed 's;\\n;$(mj_ps1_extra);') 45 ''; 46 }; 47 }; 48 }