2024-01-23 05:24:47 +01:00
|
|
|
{ config, ... }:
|
2023-01-04 14:32:11 +01:00
|
|
|
{
|
2024-01-23 05:24:47 +01:00
|
|
|
sops.secrets."osuchan/envfile" = {
|
|
|
|
restartUnits = [ "osuchan.service" ];
|
|
|
|
};
|
|
|
|
|
2023-01-04 14:32:11 +01:00
|
|
|
services.osuchan = {
|
|
|
|
enable = true;
|
2023-10-06 18:05:38 +02:00
|
|
|
port = 9283;
|
2024-01-23 05:24:47 +01:00
|
|
|
secretFile = config.sops.secrets."osuchan/envfile".path;
|
2023-01-04 14:32:11 +01:00
|
|
|
};
|
|
|
|
}
|