Merge branch 'master' of ssh://git.joshuabell.xyz:3032/ringofstorms/dotfiles

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-29 00:47:34 -05:00
commit 95e2c971c0
15 changed files with 136 additions and 17 deletions

View file

@ -5,23 +5,38 @@
...
}:
{
services.nginx = {
virtualHosts = {
"sec.joshuabell.xyz" = {
addSSL = true;
sslCertificate = "/var/lib/acme/joshuabell.xyz/fullchain.pem";
sslCertificateKey = "/var/lib/acme/joshuabell.xyz/key.pem";
locations."/" = {
proxyWebsockets = true;
proxyPass = "http://localhost:8200";
recommendedProxySettings = true;
};
};
};
};
services.openbao = {
enable = true;
package = pkgs.openbao;
settings = {
ui = true;
listener.default = {
type = "tcp";
address = "127.0.0.1:8200";
tls_disable = true; # nginx will handle TLS
};
storage.file = {
path = "/var/lib/openbao";
};
# Disable mlock requirement for development
# In production, you may want to enable this
disable_mlock = true;
@ -42,7 +57,7 @@
ProtectSystem = "strict";
ProtectHome = true;
ReadWritePaths = [ "/var/lib/openbao" ];
# Resource limits
LimitNOFILE = 65536;
LimitNPROC = 4096;

View file

@ -17,6 +17,7 @@ let
in
{
# TODO transfer these to o001 to use same certs?
# Will I ever get rate limited by lets encrypt with both doing their own?
security.acme = lib.mkIf (hasSecret "linode_rw_domains") {
acceptTerms = true;
defaults.email = "admin@joshuabell.xyz";

View file

@ -203,6 +203,11 @@
"2a:d0:ec:fa:b9:7e,PIXEL-6,10.12.14.31"
"a8:29:48:94:23:dd,TL-SG1428PE,10.12.16.2"
"00:23:a4:0b:3b:be,TMREM00004335,10.12.14.181"
# Ellas work laptop
"38:18:68:49:3c:48,ellawork-w,10.12.14.122"
"d4:a2:cd:39:4e:f0,ellawork-e,10.12.14.132"
# Josh Work laptop
"00:23:a4:0b:3b:be,TMREM00004335,10.12.14.181"
];
enable-ra = lib.mkIf config.networking.enableIPv6 true;

View file

@ -32,6 +32,7 @@
(h001ARecord "chat")
(h001ARecord "sso-proxy")
(h001ARecord "n8n")
(h001ARecord "sec")
(h001ARecord "sso")
(h001ARecord "gist")
(h001ARecord "git")

8
hosts/lio/flake.lock generated
View file

@ -1207,11 +1207,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1761621645,
"narHash": "sha256-pbwLPnz2WEAJ4K6d/iBy0u/Rko9NLaN8gn8NqsBzUNo=",
"lastModified": 1761712156,
"narHash": "sha256-4vU7FPZFXSFguQUIPrbLQOk3VSokp6RH8t7zQoqneow=",
"ref": "refs/heads/master",
"rev": "26dd42aebb0b2bc218acf2e36113997133f4dbbd",
"revCount": 319,
"rev": "04f666dabbaced8d661693cfbe4eb7efa359ce7d",
"revCount": 320,
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/nvim"
},

View file

@ -49,6 +49,7 @@
secrets.nixosModules.default
ros_neovim.nixosModules.default
({ ... }: { ringofstorms-nvim.includeAllRuntimeDependencies = true; })
flatpaks.nixosModules.default
common.nixosModules.essentials

View file

@ -187,6 +187,13 @@
proxyPass = "http://100.64.0.13";
};
};
"sec.joshuabell.xyz" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://100.64.0.13";
};
};
"sso.joshuabell.xyz" = {
enableACME = true;
forceSSL = true;