From 28a2ee8216723753d20c45a469d859df32b45579 Mon Sep 17 00:00:00 2001 From: spl3g Date: Tue, 26 Aug 2025 22:34:54 +0500 Subject: feat: add gonic to the home server --- nixos/server/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'nixos/server') diff --git a/nixos/server/configuration.nix b/nixos/server/configuration.nix index 1732641..fc74927 100644 --- a/nixos/server/configuration.nix +++ b/nixos/server/configuration.nix @@ -12,7 +12,7 @@ ./disk-config.nix ../serverModules/nginx.nix ../serverModules/files.nix - ../serverModules/nfs.nix + ../serverModules/gonic.nix ]; nixpkgs.config.allowUnfree = true; @@ -87,6 +87,8 @@ proxyPass = "http://127.0.0.1:5030"; proxyWebsockets = true; }; + + "music".proxyPass = "http://127.0.0.1:4747"; "files".proxyPass = "http://127.0.0.1:9337"; "track".proxyPass = "http://127.0.0.1:7093"; @@ -146,6 +148,12 @@ domain = null; }; + gonic = { + enable = true; + extraGroups = ["music" "files"]; + musicPaths = ["/srv/files/music"]; + }; + virtualisation.oci-containers.backend = "docker"; virtualisation.oci-containers.containers.traggo = { image = "traggo/server"; -- cgit v1.2.3