Skip to content

Commit

Permalink
refactor: renamed nix config to services.tele
Browse files Browse the repository at this point in the history
  • Loading branch information
jtara1 committed Apr 22, 2024
1 parent b3579c9 commit 33bdec6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
pkgsUnstable = import nixpkgs { inherit system; };
in {
nixosModules.default = { config, lib, ... }: {
options.services.logs-app = with lib; {
options.services.tele = with lib; {
mdDoc = ''
The Logs App service includes components for log ingestion, storage, and visualization.
Expand Down Expand Up @@ -61,7 +61,7 @@

secretsFilePath = mkOption {
type = types.path;
example = ./secrets/logs-app.json;
example = ./secrets/tele.json;
description = ''
Copy and reference secrets.json.example which contains:
{
Expand All @@ -72,7 +72,7 @@
};
};

config = let cfg = config.services.logs-app;
config = let cfg = config.services.tele;
in lib.mkIf cfg.enable {
# --- prometheus: port 3020
services.prometheus = {
Expand Down

0 comments on commit 33bdec6

Please sign in to comment.