mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 10:45:49 +02:00
5076c244db
Signed-off-by: Hadi <hadi@example.fr>
35 lines
575 B
Nix
35 lines
575 B
Nix
{
|
|
pkgs,
|
|
pkgs-unstable,
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
home = {
|
|
packages = with pkgs-unstable;
|
|
[
|
|
go
|
|
claude-code
|
|
]
|
|
++ (with pkgs; [
|
|
nodejs
|
|
air
|
|
duckdb
|
|
python3
|
|
jq
|
|
nix-prefetch-github
|
|
rsync
|
|
]);
|
|
|
|
persistence."/persist" = lib.mkIf (config.var.impermanenceEnabled or false) {
|
|
directories = [
|
|
".claude"
|
|
];
|
|
files = [".claude.json"];
|
|
};
|
|
|
|
sessionPath = ["$HOME/.local/share/go/bin"];
|
|
sessionVariables.GOPATH = "$HOME/.local/share/go";
|
|
};
|
|
}
|