aboutsummaryrefslogtreecommitdiff
path: root/nixos/profiles/workstation
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-10-07 20:16:39 +0200
committerMartin Fischer <martin@push-f.com>2026-10-14 07:47:10 +0200
commit5639ceee23a7278284d8e6b16cdd371fc5982486 (patch)
tree9360ea40ac393940d007fe9738f757c724110ceb /nixos/profiles/workstation
parentc9ffb57463c20c4c2800c3c907462a0532c2f655 (diff)
tweak(workstation): remove global lang toolchains
They should be pinned in projects that need them.
Diffstat (limited to 'nixos/profiles/workstation')
-rw-r--r--nixos/profiles/workstation/dev.nix9
-rw-r--r--nixos/profiles/workstation/llm.nix1
2 files changed, 2 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/llm.nix b/nixos/profiles/workstation/llm.nix
index fd35466..ee81ead 100644
--- a/nixos/profiles/workstation/llm.nix
+++ b/nixos/profiles/workstation/llm.nix
@@ -42,6 +42,7 @@ let
exec ${sbox}/bin/sbox \
--setenv PI_CODING_AGENT_DIR "$HOME/.config/pi" \
+ --setenv PATH "${pkgs.lib.makeBinPath [ pkgs.python3 ]}:$PATH" \
--bind "$HOME/.config/pi" "$HOME/.config/pi" \
--bind "$physical_pwd" "$physical_pwd" \
--chdir "$physical_pwd" \