Newer
Older
percord / nix / modules / default / cs / default-appsettings-json.nix
@Rory& Rory& on 16 Feb 509 bytes Nix admin api plumbing
{
  Logging.LogLevel = {
    Default = "Information";
    "Microsoft.AspNetCore" = "Trace";
    "Microsoft.AspNetCore.Mvc" = "Warning";
    "Microsoft.AspNetCore.HostFiltering" = "Warning";
    "Microsoft.AspNetCore.Cors" = "Warning";
    "Microsoft.EntityFrameworkCore.Database.Command" = "Information";
  };
  Spacebar = {
    Authentication = {
      PrivateKeyPath = "./jwt.key";
      PublicKeyPath = "./jwt.key.pub";
    };
    UnixSocketReplication = {
      SocketDir = "/run/spacebar";
    };
  };
}