Commit graph

107 commits

Author SHA1 Message Date
089abc7a50 Add new sync host encryption keys to various secrets 2025-08-18 19:59:04 +00:00
884c372b17 Fully use networkd
This quiets a warning we get for having networkd not fully enabled.
2025-08-18 19:45:05 +00:00
7af1ff3698 Update to rev that actually builds
Last one has a syntax error.
2025-08-18 19:44:47 +00:00
25739ab71b First inklings of fieldseeker-sync building for our sync host 2025-08-18 19:39:13 +00:00
5e59add85b Enable network on all hosts
I've been using networkd quite a bit in my personal work. Adding this
fixed my DNS resolution issues, so I'm keeping it.
2025-08-18 19:39:13 +00:00
fed9049f4c Add cloud-init and dig to the base system image
I'm having problems with DNS resolution and network routing on the new
sync server, I'm hoping these will help me.
2025-08-18 19:39:13 +00:00
23f5a12d74 Avoid repeating 'inherit' so much. 2025-08-18 19:39:13 +00:00
7bf9848482 Move common system code into a dedicated file
Remove a lot of copy-pasting
2025-08-18 19:39:13 +00:00
63a8f1c81d Simplify the base configuration for sync, rely on other modules
All of this is redundant and defined in other modules, as it should be.
From here we can start building up what makes sync unique rather than
copy-pasting.
2025-08-18 19:39:13 +00:00
5dc0351981 Fix reference to nixvim, add dig for network troubleshooting 2025-08-15 18:57:43 +00:00
c427bda5b0 Create sync nidus host configuration
It has next to nothing in it, at this point.
2025-08-15 00:34:21 +00:00
4e3bab9e15 increase AI credits by 10x 2025-08-14 21:42:19 +00:00
34c105f73d Use librechat 0.8.0-rc2, add config directory
This is an attempt to build LibreChat myself to get access to the
config/ directory which contains scripts for managing the balance.
2025-08-11 18:45:18 +00:00
440cba52ce Drop librechat config to currently deployed version 2025-07-29 23:06:00 +00:00
81bc28014c Limit OpenAI models to gpt-4, gpt-4o, and gpt-3.5-turbo 2025-07-28 20:28:36 +00:00
fe8a9b0b0d Add librechat config for rate limiting 2025-07-28 20:23:41 +00:00
c543678c7e Add credentials from Backblaze B2
I'm going to use these with borg or restic, not sure yet, just want to
save them for now.
2025-07-24 21:05:12 +00:00
7530a91823 Add myutils to base system
So I can import it everywhere.
2025-07-24 15:58:32 +00:00
47056f3df8 Add initial authentik backup script
This includes a new paradigm for using a pgpass file, which is great, as
well as sorting out how to properly do a bash script shebang in a
service file.
2025-07-24 15:58:32 +00:00
a31e1dfe88 Add commented-out port specification for openssh
May be handy at some future point for getting around intermediate
firewalls
2025-07-23 00:16:22 +00:00
d29e7f242b Remove redundant negation of isNormalUser 2025-07-23 00:14:57 +00:00
3ba2d19292 Add rag-api to our librechat stack.
Works as tested with a pdf document embedding.
2025-07-23 00:14:20 +00:00
06a8db2184 Add google search API keys to librechat integration
See https://www.librechat.ai/docs/configuration/tools/google_search
This enables telling ChatGPT/whatever LLM to search for me.
2025-07-22 17:15:25 +00:00
a36018ffe6 Sort keys in librechat environment, remove redundant meili master key 2025-07-22 17:11:06 +00:00
99989ae4bd Enable librechat on corp 2025-07-22 17:01:09 +00:00
2ee334c421 Use work email for git, set default branch 2025-07-22 17:00:55 +00:00
6b237aa4f3 Add meilisearch to librechat
This allows us to search previous chat messages and get fast results.
2025-07-22 16:44:40 +00:00
8f1b53286c Librechat add google and openai, drop back to working package
I'm going to spin up some dev resources to see if I can figure out how
to compile the latest. In the mean time, this is doing what I want and
is going to get deployed.
2025-07-21 23:51:23 +00:00
9c025b86c8 Move to a newer version of librechat with an override.
This may get us access to use the latest Claude models since the API
changed in the past 2 months.
2025-07-21 23:23:36 +00:00
56c6183a7e Remove the list of Anthropic models
I kept hitting errors like:

Something went wrong. Here's the specific error message we encountered: Operation failed after 3 attempts: 400 {"type":"error","error":{"type":"invalid_request_error","message":"\"claude-opus-4-20250514\" is not supported on this API. Please use the Messages API instead."}}

I believe from https://github.com/danny-avila/LibreChat/discussions/7554
that I may need to update the version of librechat I'm running.
2025-07-21 20:31:41 +00:00
8e293abad4 Better specify the librechat service to restart on changes
Without the '.service' it can't find it. Odd.
2025-07-21 20:31:14 +00:00
80380c4ee3 Add sops to all servers
Because then I can edit files in-place.
2025-07-21 20:16:30 +00:00
d4a75abe51 Get librechat working
With these changes I have librechat running and being properly
reverse-proxied and I can login via SSO. I was not able to get a
reasonable response yet from Claude.
2025-07-21 20:14:35 +00:00
049565c491 Add tig to all hosts
I use it frequently when doing things with git.
2025-07-21 19:30:01 +00:00
e1bdaae278 Finish removing neovim module 2025-07-21 19:30:01 +00:00
6c91a6f117 Add librechat environment secrets 2025-07-21 19:29:26 +00:00
086e13e748 Add mac_mini age key to sops
Convenient, but also redundancy avoids a cryptography
single-point-of-failure
2025-07-21 19:05:26 +00:00
2e69a67b2a Update test-corp modules for latest testing 2025-07-21 18:53:24 +00:00
daa1387f38 Fix Cloudreve group membership
Copy-paste error.
2025-07-21 18:53:03 +00:00
db1f3a03d9 Re-add stateVersion
I removed it to be able to run on corp, but I need it when spinning up
new servers, so I'm re-adding it.
2025-07-21 18:52:41 +00:00
888a4ad65d Add module for sillytavern.
I'm probably not going to use it, and prefer librechat instead.
I mostly gave up on it because I couldn't make heads-nor-tails of their
SSO settings. It just says "authelia=true" - that's not enough to
configure any SSO, even Authelia.

I probably misunderstand what Sillytavern fundamentally is.
2025-07-21 18:51:32 +00:00
acfef00f7d Remove old neovim module
I'm now using nixvim, which is very powerful, and I'm already using it
to do far more comprehensive things.
2025-07-21 18:50:51 +00:00
6ce57664f4 Add my custom gitconfig
Makes it so git doesn't ask for my name. Yay.
2025-07-21 18:50:10 +00:00
7c1947378e Enable git module, set EDITOR to nvim
This makes it so I stop getting nano as my editor, which fills me with
rage.
2025-07-21 18:49:37 +00:00
852fe09471 Update fish home module to user user config, and enable shell
The 'user' config was only used by this fish module, and became silly
as soon as I had to duplicate it to the git module. Instead I set it
once in the home config and reference it.

In addition this change includes enabling the fish shell. This makes it
possible to do things like set session variables, which I'll do in the
next commit.
2025-07-21 18:48:11 +00:00
6bdcc2ccfe Create an option for defining the user in home-manager modules
This will replace existing per-module user configuration.

Or, rather, it already did for git.
2025-07-21 18:47:29 +00:00
6dc2fc4e44 Add git home module
Allows me to avoid configuring my name any time I want to use git
2025-07-21 18:47:02 +00:00
974bb922cb Add nixvim to nixos-anywhere build
It sucks not having neovim when I first login
2025-07-21 16:28:10 +00:00
7e6ff28dd3 Add initial sillytavern secrets, update test-corp key 2025-07-21 16:27:51 +00:00
40ab79ca74 Update readme with better information for running nixos-anywhere
Without this I was getting errors like:

> error: flake 'flake:nixos-anywhere' does not provide attribute 'packages.x86_64-linux.nixosConfigurations."digitalocean".config.system.build.diskoScript', 'legacyPackages.x86_64-linux.nixosConfigurations."digitalocean".config.system.build.diskoScript' or 'nixosConfigurations."digitalocean".config.system.build.diskoScript'

I'm not sure why.
2025-07-21 15:57:00 +00:00