Files
nixy/home/programs/group/dev.nix
T
Hadi 5076c244db mkIf impermanence
Signed-off-by: Hadi <hadi@example.fr>
2026-08-17 14:57:11 +02:00

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";
};
}