This commit is contained in:
parent
5f9ef795c0
commit
612b7a13a7
10 changed files with 69 additions and 126 deletions
|
|
@ -1,58 +1,3 @@
|
|||
# { pkgs, flakes, ... }:
|
||||
# {
|
||||
# # sops.secrets.reviewqueue = {
|
||||
# # sopsFile = ../../../secrets/reviewqueue.env;
|
||||
# # };
|
||||
|
||||
# services.nginx = {
|
||||
# virtualHosts."api.money.is.fckn.gay" = {
|
||||
# forceSSL = true;
|
||||
# http2 = true;
|
||||
# enableACME = true;
|
||||
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://localhost:11009";
|
||||
# proxyWebsockets = true;
|
||||
# };
|
||||
# };
|
||||
# virtualHosts."money.is.fckn.gay" = {
|
||||
# forceSSL = true;
|
||||
# http2 = true;
|
||||
# enableACME = true;
|
||||
|
||||
# locations."/" = {
|
||||
# root = flakes.mifg.packages.${pkgs.system}.frontend.override {
|
||||
# api_base_url = "https://api.money.is.fckn.gay";
|
||||
# };
|
||||
# tryFiles = "$uri $uri/ /index.html";
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
|
||||
# systemd.services.money = {
|
||||
# description = "money is fckn gay";
|
||||
|
||||
# wantedBy = [ "multi-user.target" ];
|
||||
# after = [ "network.target" ];
|
||||
|
||||
# restartIfChanged = true;
|
||||
|
||||
# serviceConfig = {
|
||||
# ExecStart = "${flakes.mifg.packages.${pkgs.system}.backend}/bin/mifg-backend";
|
||||
# Restart = "always";
|
||||
# # EnvironmentFile = "/run/secrets/reviewqueue";
|
||||
# StateDirectory = "money";
|
||||
|
||||
# };
|
||||
|
||||
# environment = {
|
||||
# MIFG_DATABASE_LOCATION = "/var/lib/money/db.sqlite";
|
||||
# MIFG_FRONTEND_ORIGIN = "https://money.is.fckn.gay";
|
||||
# MIFG_PORT = "11009";
|
||||
# };
|
||||
# };
|
||||
# }
|
||||
|
||||
{
|
||||
pkgs,
|
||||
flakes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue