Refactor home manager, and add desktop node on sparky.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user