-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflake.nix
More file actions
44 lines (40 loc) · 1.09 KB
/
Copy pathflake.nix
File metadata and controls
44 lines (40 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
description = "Shellsmith – AI dev workflow";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
claude-code-nix.url = "github:sadjow/claude-code-nix";
};
outputs = { self, nixpkgs, flake-utils, claude-code-nix }:
flake-utils.lib.eachSystem [ "aarch64-darwin" "x86_64-darwin" ] (system:
let
pkgs = import nixpkgs { inherit system; };
claude-code = claude-code-nix.packages.${system}.default;
in
{
devShells.default = pkgs.mkShell {
packages = [
# System tools
pkgs.tmux
pkgs.fd
pkgs.fzf
pkgs.jq
pkgs.lazygit
pkgs.yazi
pkgs.starship
pkgs.neovim
pkgs.ripgrep
pkgs.gh
pkgs.nodejs_22
pkgs.just
pkgs.python3
# AI tools (from community flake)
claude-code
];
shellHook = ''
echo "shellsmith: dev shell active"
'';
};
}
);
}