summaryrefslogtreecommitdiff
path: root/hosts/flora/services/picarones.nix
blob: 06e8ab1891888d2d2f72758e84b36b643aca8c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{config, pkgs, ...}:
let
  source = builtins.fetchGit {
    url = "https://stuebinm.eu/git/picarones/";
    rev = "393186f9ebf0bf43a1add8bd8d0e37be566ae8cc";
  };
in
{

  imports = [ source.outPath ];

  services.picarones = {
    enable = true;
    frontend = {
      enable = true;
      domain = "picarones.stuebinm.eu";
      proxyBackend = true;
      config = {
        enableACME = true;
        forceSSL = true;
      };
    };
  };

  networking.firewall.allowedTCPPorts = [ 80 443 ];
}