add a few services

This commit is contained in:
k3t
2026-03-15 22:26:26 -06:00
parent 0ff018761f
commit f8f056de51
4 changed files with 68 additions and 14 deletions
+23
View File
@@ -0,0 +1,23 @@
{ config, lib, pkgs, ... }:
{
services.gonic = {
enable = true;
settings = {
music-path = [
"/home/k3t/Music"
];
};
};
services.nginx.virtualHosts."gonic.k3t.dev" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:4747";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
}