100 lines
1.8 KiB
Nix
100 lines
1.8 KiB
Nix
{ config, pkgs, lib, ... }: {
|
|
home.stateVersion = "24.05";
|
|
|
|
imports = [
|
|
./programs/helix.nix
|
|
./programs/neovim.nix
|
|
./programs/ghostty.nix
|
|
./shell/nushell.nix
|
|
./shell/tmux.nix
|
|
./devtools/ai-tools.nix
|
|
./devtools/languages.nix
|
|
./devtools/default.nix
|
|
./secrets.nix
|
|
];
|
|
|
|
programs.nushell.enable = true;
|
|
|
|
programs.git.enable = true;
|
|
|
|
home.packages = with pkgs; [ docker docker-compose ];
|
|
|
|
rsydn.aiTools.enable = lib.mkDefault true;
|
|
|
|
rsydn.devTools = {
|
|
enable = lib.mkDefault true;
|
|
packages = with pkgs; [
|
|
ast-grep
|
|
cloudflared
|
|
ffmpeg
|
|
fzf
|
|
htop
|
|
jetbrains-mono
|
|
jq
|
|
lazydocker
|
|
lazygit
|
|
lorri
|
|
neovim
|
|
pandoc
|
|
ripgrep
|
|
tmux
|
|
tree
|
|
vim
|
|
wget
|
|
yq
|
|
];
|
|
};
|
|
|
|
rsydn.languages.enable = lib.mkDefault true;
|
|
|
|
rsydn.secrets = {
|
|
enable = lib.mkDefault true;
|
|
defaultSopsFile = ../../../secrets/local-ai-tokens.sops.yaml;
|
|
secrets = {
|
|
"openai-api-key" = {
|
|
format = "yaml";
|
|
key = "OPENAI_API_KEY";
|
|
};
|
|
|
|
"openrouter-api-key" = {
|
|
format = "yaml";
|
|
key = "OPENROUTER_API_KEY";
|
|
};
|
|
|
|
"zai-api-key" = {
|
|
format = "yaml";
|
|
key = "ZAI_API_KEY";
|
|
};
|
|
|
|
"moonshot-api-key" = {
|
|
format = "yaml";
|
|
key = "MOONSHOT_API_KEY";
|
|
};
|
|
|
|
"anthropic-api-key" = {
|
|
format = "yaml";
|
|
key = "ANTHROPIC_API_KEY";
|
|
};
|
|
|
|
"exa-api-key" = {
|
|
format = "yaml";
|
|
key = "EXA_API_KEY";
|
|
};
|
|
|
|
"fal-api-key" = {
|
|
format = "yaml";
|
|
key = "FAL_API_KEY";
|
|
};
|
|
|
|
"groq-api-key" = {
|
|
format = "yaml";
|
|
key = "GROQ_API_KEY";
|
|
};
|
|
|
|
"firecrawl-api-key" = {
|
|
format = "yaml";
|
|
key = "FIRECRAWL_API_KEY";
|
|
};
|
|
};
|
|
};
|
|
}
|