diff options
| author | Fuwn <[email protected]> | 2024-10-28 07:12:01 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-28 07:12:01 -0700 |
| commit | b1472ece604f086e83620aced36c192ccb212cd6 (patch) | |
| tree | 1473e901fd3f9d5eb0747c097d8b59dd674d18c8 /modules/server/harmonia.nix | |
| parent | home: temporarily fix regression in akashi (diff) | |
| download | nixos-config-b1472ece604f086e83620aced36c192ccb212cd6.tar.xz nixos-config-b1472ece604f086e83620aced36c192ccb212cd6.zip | |
server: add harmonia
Diffstat (limited to 'modules/server/harmonia.nix')
| -rw-r--r-- | modules/server/harmonia.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/server/harmonia.nix b/modules/server/harmonia.nix new file mode 100644 index 0000000..538cebe --- /dev/null +++ b/modules/server/harmonia.nix @@ -0,0 +1,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 ]; + }; +} |