Refactor home manager, and add desktop node on sparky.

This commit is contained in:
2025-10-20 16:27:13 +01:00
parent bd15987f8d
commit 1465213c90
8 changed files with 148 additions and 64 deletions

View File

@@ -1,38 +1,7 @@
{ pkgs }:
{ pkgs, profile ? "workstation" }:
let
corePkgs = with pkgs; [
unstable.claude-code
unstable.codex
unstable.chromium
unstable.gemini-cli
unstable.playwright
unstable.playwright-driver.browsers
unstable.playwright-mcp
direnv
fzf
git
mosh
ripgrep
tmux
zsh
];
pythonEnv = pkgs.unstable.python3.withPackages (ps: [
# unstable only
# ps.aider-chat
ps.google-generativeai
ps.ipython
ps.llm
ps.llm-gemini
]);
fishPkgs = with pkgs.fishPlugins; [
pure
# don't add failed commands to history
sponge
transient-fish
];
profilePackages = import ./profiles/${profile}.nix { inherit pkgs; };
in
{
packages = corePkgs ++ [ pythonEnv ] ++ fishPkgs;
packages = profilePackages.packages;
}