mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-08 07:06:09 +08:00
12 lines
440 B
Nix
12 lines
440 B
Nix
{ config, flake, pkgs, ... }:
|
|
{
|
|
imports = [ flake.inputs.oc.homeModules.default ];
|
|
programs.opencode.package = flake.inputs.oc.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
|
|
|
programs.zsh.initContent = ''
|
|
export JUSPAY_API_KEY="$(cat "${config.age.secrets.juspay-anthropic-api-key.path}")"
|
|
'';
|
|
programs.bash.initExtra = ''
|
|
export JUSPAY_API_KEY="$(cat "${config.age.secrets.juspay-anthropic-api-key.path}")"
|
|
'';
|
|
}
|