Catch all the stuff I missed in the server services to get them to build

This commit is contained in:
Jimbo 2024-10-15 17:46:44 -04:00
parent 25a3a7e237
commit a5f06865de
44 changed files with 212 additions and 197 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, outputs, ... }:
{ pkgs, config, ... }:
{
imports = [
./nginx
@ -6,7 +6,7 @@
services.transmission = {
enable = true;
credentialsFile = pkgs.writeText "credentials" outputs.secrets.transmissionCredFile;
credentialsFile = pkgs.writeText "credentials" config.secrets.transmissionCredFile;
openPeerPorts = true;
settings = {
rpc-authentication-required = true;

View file

@ -1,6 +1,6 @@
{ outputs, ... }:
{ config, ... }:
{
services.nginx.virtualHosts."torrent.${outputs.secrets.jimDomain}" = {
services.nginx.virtualHosts."torrent.${config.secrets.jimDomain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {