nix-dotfiles/hosts/tsuki/services/osuchan.nix

13 lines
231 B
Nix
Raw Permalink Normal View History

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;
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
};
}