mirror of
https://github.com/dump-dvb/nix-config.git
synced 2024-06-15 04:16:57 +02:00
18 lines
378 B
Nix
18 lines
378 B
Nix
|
{ config, ... }:
|
||
|
{
|
||
|
dump-dvb.tracy = {
|
||
|
enable = true;
|
||
|
host = "0.0.0.0";
|
||
|
port = 8060;
|
||
|
database = {
|
||
|
host = "127.0.0.1";
|
||
|
port = config.services.postgresql.port;
|
||
|
passwordFile = config.sops.secrets.postgres_password.path;
|
||
|
};
|
||
|
};
|
||
|
systemd.services."tracy" = {
|
||
|
after = [ "postgresql.service" ];
|
||
|
wants = [ "postgresql.service" ];
|
||
|
};
|
||
|
}
|