Skip to content

Commit

Permalink
refactor: rm usage of deprecated lib.mdDoc call; fixed some outdated …
Browse files Browse the repository at this point in the history
…names
  • Loading branch information
jtara1 committed Jun 29, 2024
1 parent cea0961 commit a91810f
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
{
description = ''
The tele service includes components for log ingestion, storage, and visualization.
By enabling this module, you enable several services which include:
- grafana http://localhost:3010
- prometheus http://localhost:3020
- loki http://localhost:3030
- promtail http://localhost:3031
Query for logs from:
- docker (rootless) containers
- nginx access logs
- journald
Dashboard included to visualize core computing:
- cpu
- memory
- storage
- network
Alerts to notify of high computing usage for:
- memory
- storage
- cpu
'';

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs"; # unstable nixpkgs
};
Expand All @@ -10,37 +36,11 @@
in {
nixosModules.default = { config, lib, ... }: {
options.services.tele = with lib; {
mdDoc = ''
The Logs App service includes components for log ingestion, storage, and visualization.
By enabling this module, you enable several services which include:
- grafana http://localhost:3010
- prometheus http://localhost:3020
- loki http://localhost:3030
- promtail http://localhost:3031
Query for logs from:
- docker (rootless) containers
- nginx access logs
- journald
Dashboard included to visualize core computing:
- cpu
- memory
- storage
- network
Alerts to notify of high computing usage for:
- memory
- storage
- cpu
'';

enable = mkOption {
type = types.bool;
default = false;
example = false;
description = "Enable the Logs App";
description = "Enable the tele service";
};

email = {
Expand Down

0 comments on commit a91810f

Please sign in to comment.