diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-07 20:16:39 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-30 09:00:17 +0100 |
| commit | ba47fc49df5f101ee92faca20043bf453677cca1 (patch) | |
| tree | e95d5fc0f63bffcf8258cf9b02ea7afca2caaad6 /nixos | |
| parent | bee5ca1f7609a502fcb2ed6aa5d6b952b833b403 (diff) | |
tweak(workstation): remove global lang toolchains
They should be pinned in projects that need them.
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/profiles/workstation/dev.nix | 9 | ||||
| -rw-r--r-- | nixos/profiles/workstation/pkgs/pi.nix | 3 |
2 files changed, 4 insertions, 8 deletions
diff --git a/nixos/profiles/workstation/dev.nix b/nixos/profiles/workstation/dev.nix index 7d52322..5ccca6f 100644 --- a/nixos/profiles/workstation/dev.nix +++ b/nixos/profiles/workstation/dev.nix @@ -9,14 +9,8 @@ }; environment.systemPackages = with pkgs; [ - rustup - go - python313 - nodejs_22 - # CLI tools docker-compose - gnumake pkgs-unstable.jujutsu just openssl @@ -25,7 +19,6 @@ fastmod license-generator - gcc # rustc fails if cc linker isn't found chromium pkgs-unstable.zed-editor @@ -34,7 +27,7 @@ platformio # language servers - # rust-analyzer is installed via rustup + rust-analyzer nixd # documentation diff --git a/nixos/profiles/workstation/pkgs/pi.nix b/nixos/profiles/workstation/pkgs/pi.nix index b055fb0..e5d1da6 100644 --- a/nixos/profiles/workstation/pkgs/pi.nix +++ b/nixos/profiles/workstation/pkgs/pi.nix @@ -1,7 +1,9 @@ { bubblewrap, coreutils, + lib, pi-coding-agent, + python3, symlinkJoin, writeShellScriptBin, }: @@ -47,6 +49,7 @@ let physical_pwd="$(${coreutils}/bin/pwd -P)" exec ${sbox}/bin/sbox \ + --setenv PATH "${lib.makeBinPath [ python3 ]}:$PATH" \ --setenv PI_CODING_AGENT_DIR "$HOME/.config/pi" \ --bind "$HOME/.config/pi" "$HOME/.config/pi" \ --bind "$physical_pwd" "$physical_pwd" \ |
