summaryrefslogtreecommitdiff
path: root/modules/server/harmonia.nix
blob: 538cebed3663029fce4845c6e9908526a5a70d03 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{ config, ... }:
{
  nix.settings.allowed-users = [ "harmonia" ];
  services.caddy.virtualHosts."cache.fuwn.me".extraConfig = "reverse_proxy localhost:5000";

  services.harmonia = {
    enable = true;
    signKeyPaths = [ config.sops.secrets.harmonia.path ];
  };
}