This commit is contained in:
Simon Gardling 2025-11-12 23:34:05 -05:00
parent 8f0492f03b
commit 06a7210579
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D
4 changed files with 32 additions and 4 deletions

6
.gitattributes vendored
View File

@ -1,4 +1,2 @@
etcnixos/secrets/secureboot.tar filter=git-crypt diff=git-crypt
etcnixos/secrets/wifi-passwords.nix filter=git-crypt diff=git-crypt
etcnixos/secrets/disk-password filter=git-crypt diff=git-crypt
etcnixos/secrets/password-hash filter=git-crypt diff=git-crypt
/etcnixos/secrets/** filter=git-crypt diff=git-crypt
/home-manager/secrets/** filter=git-crypt diff=git-crypt

View File

@ -114,6 +114,7 @@ in
imports = [
./progs/fish.nix
./progs/helix.nix
./progs/opencode.nix
(
{ ... }:
{

View File

@ -0,0 +1,29 @@
{
config,
lib,
pkgs,
...
}:
{
programs.opencode = {
enable = true;
rules = "";
settings = {
theme = "opencode";
model = "moonshotai/kimi-k2-thinking";
autoshare = false;
autoupdate = true;
provider = {
openrouter = {
models = {
# put models here
};
options = {
# TODO! use agenix here instead
apiKey = "{file:${../secrets/openrouter_api_key}}";
};
};
};
};
};
}

Binary file not shown.