From 33bdec6cca50892f278ef41fc0458a2d98236bc5 Mon Sep 17 00:00:00 2001 From: James T Date: Mon, 22 Apr 2024 14:35:47 -0700 Subject: [PATCH] refactor: renamed nix config to services.tele --- flake.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index de4ab9f..b678ea0 100644 --- a/flake.nix +++ b/flake.nix @@ -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. @@ -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: { @@ -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 = {