blob: b7d7ae688394dec02aa4348a8b821dfeaf5cbf14 (
plain) (
tree)
|
|
{ pkgs, config, ... }:
{
age = {
identityPaths = [ "${config.home.homeDirectory}/.ssh/agenix" ];
secretsDir = "${config.home.homeDirectory}/.local/share/agenix";
secrets = {
anthropic-api-key = {
file = ../../secrets/users/fcuny/anthropic-api-key.age;
};
};
};
imports = [
../programs/aider.nix
../programs/bat.nix
../programs/bottom.nix
../programs/emacs
../programs/eza.nix
../programs/fd.nix
../programs/firefox
../programs/fish.nix
../programs/kitty.nix
../programs/onepassword.nix
../programs/ssh.nix
];
home.packages = with pkgs; [
delve
dive # explore layers in docker images
docker
docker-credential-helpers
nil # nix lsp
nix-direnv # integration with direnv
nixfmt-rfc-style # new formatter
shellcheck
tree
wget
wireshark
openssh # the version of ssh shipped on MacOS does not support yubikey
yubikey-manager
];
programs.fish.shellAliases = {
grep = "${pkgs.ripgrep}/bin/rg";
ps = "${pkgs.procs}/bin/procs";
};
programs.fish.shellInit = ''
export ANTHROPIC_API_KEY="$(cat ${config.age.secrets.anthropic-api-key.path})"
'';
home.sessionPath = [
"${config.home.homeDirectory}/.local/bin"
];
xdg.enable = true;
}
|