Commit graph

35 commits

Author SHA1 Message Date
8eee817ef6 Unblock frps port in firewall 2025-10-22 18:02:15 +00:00
2d5ccb7a8c Disable glitchtip
Apparently our problems are fixed in the latest release, but we can't
have it until we go NixOS unstable, which I don't want to do yet.
2025-10-20 23:00:07 +00:00
29fa447da6 Make nocix sexcore name consistent
I realized I had incorrectly used "hexcore"
2025-10-10 01:36:45 +00:00
0abca6a86d Add definition for amd-legacy-hexcore
This is merged between the existing sync system and the existing
nixos-anywhere definition for amd-legacy-hexcore. I'm going to attempt
to bring in a new pattern.
2025-10-07 17:07:54 +00:00
dad759c4b3 Add minio module for S3-compatible object storage
Label Studio _really_ prefers using a direct object storage model. Can't
say I blame them, it makes sense given they are running Python.

I had to bump Authentik to not use its default port so that minio could
use its own default port. That seemed safest given that Authentik is
always proxied but minio/S3 may _not_ be. I'm just not sure.
2025-10-03 15:01:36 +00:00
8790585e6b Add label-studio initial module
To make this work I have to map to the user 1001 inside the container.
I can't figure out how to do that intelligently after a bunch of
experimenting. Instead I'm just creating a new user "label-studio" with
uid 1001 and chowning the data directory to that user.

This is very brittle.

However, it's working, so I'm moving forward.
2025-10-03 15:01:36 +00:00
09ba3f4abe Fix up static website hosting on corp 2025-09-26 17:27:46 +00:00
b652029e73 Remove seafile
I like Cloudreve well enough, and didn't like Seafile much
2025-09-09 15:07:32 +00:00
e78d5aacf5 Add missing new corp hardware change
Missed from a previous commit
2025-09-09 15:03:43 +00:00
4d5de177b5 Get authentik working on the new corp server without podman
The podman integration was pretty janky because it relied on running a
pod and the NixOS integration with pods are essentially non-existent.
This led to issues with the port being improperly forwarded when
partially restarted.

Now instead I use a flake dedicated to running authentik. This allows me
to specify some of the config in the module directly and some in
secrets, which is really nice. I've additionally added some changes to
the listen address so that the service isn't exposed over public IP
addresses.
2025-09-09 15:03:43 +00:00
696273efb8 Remove old corp-specific secrets 2025-09-09 12:33:47 +00:00
29fd7815d8 Remove old nocix experimental configs, solidify new corp configuration
At this point the new Nocix server is working (I'm writing this commit
on that machine) so I can clean up the various experiments and commit to
the more generalized configuration as it stands
2025-09-08 21:24:28 +00:00
79c577cfff Attempt to make new corp hardware the definitive corp hardware
This is...a big change. If I run this on the old corp server it will
break a lot, LOT of stuff. So don't do that. This is also the first time
I'm attempting to use disko to fully define a server in a single step
rather than as a bootstrapping step.
2025-09-08 20:36:59 +00:00
2e07572759 Move matrix secrets to central secrets location 2025-08-27 17:52:15 +00:00
684f7e0910 Fully-specify defaultGateway for corp
This is required now that we're using networkd through the new base
module
2025-08-27 17:52:15 +00:00
8b669fe507 Add firewall configuration to sync 2025-08-23 18:33:57 +00:00
f8f8bc368a Add glitchtip self-hosted
This doesn't yet do SSO correctly, I'm still trying to figure out how to
configure Django allauth via environment variable.
2025-08-22 22:18:23 +00:00
3f509cc124 Add fieldseeker webserver 2025-08-20 23:58:18 +00:00
25739ab71b First inklings of fieldseeker-sync building for our sync host 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
c427bda5b0 Create sync nidus host configuration
It has next to nothing in it, at this point.
2025-08-15 00:34:21 +00:00
99989ae4bd Enable librechat on corp 2025-07-22 17:01:09 +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
2e69a67b2a Update test-corp modules for latest testing 2025-07-21 18:53:24 +00:00
a9f75cb5dc Flesh out cloudreve with secrets and caddy proxy 2025-07-19 00:45:50 +00:00
a26ed33b42 Switch to caddy, remove onlyoffice, add collabora
Most things work on this commit, except the integration between
collabora and seafile. I think it might be related to the timezone
change I made and a lack of access_token being passed in the URL.

I'm going to test that with a reboot. But first, checkpoint!
2025-07-18 22:45:02 +00:00
71d8bff1e6 Enable redis within the authentik pod, add redis to corp
We put it in the pod because I don't know how to make it accessible to
things in the bod without binding all host addresses. There's probably a
sophisticated way to do it correctly, but I don't want to figure it out
yet.
2025-07-18 19:04:50 +00:00
b94bea0a59 Remove redundant settings from corp
These are covered in the base image now.
2025-07-18 18:05:37 +00:00
9da3485bfd Add the authentik secrets to the authentik module 2025-07-18 15:55:17 +00:00
07d3b9d35e Make podman a separate module
We're going to hide more in there.
2025-07-18 15:46:21 +00:00
259c621a2f Create base test-corp environmnt
This creates more commonality between a nixos-anywhere bootstrapped
system and a locally built nixos image, which is good.
2025-07-17 19:39:38 +00:00
3e83a50e38 Move disabledModules specification into custom onlyoffice module
This is what allows us to override the way the module is defined in the
system
2025-07-17 17:07:17 +00:00
c022445849 Add more complex user setup for eliribble
Includes fish functions and neovim via nix
2025-07-16 15:19:35 -07:00
0c8fea347a Add secrets and home config to the corp machine 2025-07-16 09:55:20 -07:00
ecbb1b932c Migrate corp configuration to this repository and use flakes 2025-07-16 09:36:39 -07:00