Compare commits

19 Commits
Author SHA1 Message Date
poslop 434e6dfb97 k3s: allow traefik dashboard port 8969 2026-07-30 21:05:15 -05:00
poslop dac900756c k3s: bind-mount apps/ from separate poslop/k3s repo, add traefik firewall port 2026-07-30 20:09:40 -05:00
poslop 765be54fb5 Revert "netbird: fresh setup routed through built-in traefik, secrets via kubectl not git"
This reverts commit 8b65c53a11.
2026-07-30 18:29:00 -05:00
poslop 8b65c53a11 netbird: fresh setup routed through built-in traefik, secrets via kubectl not git 2026-07-30 18:27:55 -05:00
poslop eadba798ea k3s: wipe netbird/traefik manifests, back to bare k3s 2026-07-30 18:17:59 -05:00
poslop 942d9e2350 add yamlfmt to dev packages 2026-07-30 18:03:05 -05:00
poslop 10637d950f hermes-age changes 2026-07-28 21:47:06 -05:00
poslop f9289fa766 netbird: move authSecret out of git into k8s secret (netbird-relay-auth), render via init container 2026-07-23 13:45:04 -05:00
poslop 5b62e26752 rotate netbird authSecret 2026-07-23 13:33:51 -05:00
poslop 9698a57aa0 remove hermes permission service 2026-07-23 11:18:42 -05:00
poslop 6ab209cd5e k3s into configuration for goyplex 2026-07-23 11:15:51 -05:00
poslop 9a0e03657a netbird: pull encryptionKey from k8s secret 2026-07-21 21:25:58 -05:00
poslop fcaa023730 netbird: change STUN to port 3479, add trustedHTTPProxies 2026-07-21 21:18:20 -05:00
poslop f42fd8684e traefik: add nodes, namespaces, pods to rbac 2026-07-21 20:15:00 -05:00
poslop 2e30fec972 traefik: add endpointslices and configmaps rbac 2026-07-21 20:14:35 -05:00
poslop 7af7864701 traefik: remove TLS/redirect, caddy handles TLS 2026-07-21 20:09:28 -05:00
poslop 40a82aad64 netbird: use web entrypoint, caddy handles TLS 2026-07-21 19:28:35 -05:00
poslop d2a6887834 refactor(netbird): migrate to single netbird-server container 2026-07-21 19:06:19 -05:00
poslop 9b5af62a47 k3s init 2026-07-21 17:58:58 -05:00
6 changed files with 30 additions and 24 deletions
+1
View File
@@ -4,6 +4,7 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules ../../modules
../../modules/k3s/k3s.nix
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
+1
View File
@@ -5,6 +5,7 @@
neovim neovim
git git
tree-sitter tree-sitter
yamlfmt
gcc gcc
# lua # lua
+1 -1
View File
@@ -17,7 +17,7 @@ alias gs='git status'
alias hermes='docker exec -it -u hermes hermes-agent /data/current-package/bin/hermes' alias hermes='docker exec -it -u hermes hermes-agent /data/current-package/bin/hermes'
alias hermes-age='cd /etc/rice-flakes/modules/hermes/secrets && sudo EDITOR=nvim agenix -e ./hermes-env.age -i /etc/ssh/ssh_host_ed25519_key' alias hermes-age='cd /etc/rice-flakes/modules/hermes/secrets && sudo EDITOR=nvim agenix -e hermes-env.age -i /etc/ssh/ssh_host_ed25519_key'
ga() { ga() {
if [[ -z "$1" ]]; then if [[ -z "$1" ]]; then
+2 -23
View File
@@ -1,7 +1,6 @@
{ {
inputs, inputs,
config, config,
pkgs,
... ...
}: }:
@@ -45,8 +44,8 @@
}; };
delegation = { delegation = {
model = "openai/gpt-5.6-luna"; model = "us.anthropic.claude-sonnet-5";
provider = "nous"; provider = "bedrock";
}; };
discord = { discord = {
@@ -61,24 +60,4 @@
9119 9119
8642 8642
]; ];
systemd = {
timers.hermes-perms-maintenance = {
description = "Periodically fix hermes file permissions";
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "10s";
OnUnitActiveSec = "30s";
};
};
services.hermes-perms-maintenance = {
description = "Fix hermes file permissions for gateway access";
serviceConfig = {
Type = "oneshot";
ExecStartPre = "${pkgs.findutils}/bin/find /var/lib/hermes/.hermes/ -type d -not -perm -2770 -exec ${pkgs.coreutils}/bin/chmod 2770 {} +";
ExecStart = "${pkgs.findutils}/bin/find /var/lib/hermes/.hermes/ -type f -not -perm -0660 -exec ${pkgs.coreutils}/bin/chmod 660 {} +";
};
};
};
} }
Binary file not shown.
+25
View File
@@ -0,0 +1,25 @@
{
networking.firewall.allowedTCPPorts = [
6443
80
443
8969
33073
];
networking.firewall.allowedUDPPorts = [ 3479 ];
services.k3s = {
enable = true;
role = "server";
extraFlags = "--write-kubeconfig-mode 644";
};
fileSystems."/var/lib/rancher/k3s/server/manifests/apps" = {
device = "/home/poslop/k3s/apps";
fsType = "none";
options = [
"bind"
"ro"
];
};
}