remove all unecessary imports for cleaner code :)

This commit is contained in:
Lillian Violet 2024-10-28 00:17:05 +01:00
parent 441a7dcb60
commit 415903451f
74 changed files with 52 additions and 390 deletions

View file

@ -1,11 +1,4 @@
{
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
{...}: {
imports = [
./grafana
#./loki

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{config, ...}: {
# grafana configuration
services.grafana = {
enable = true;

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{...}: {
services.loki = {
enable = true;
configFile = ./loki.yaml;

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{...}: {
services.prometheus = {
enable = true;
port = 9001;

View file

@ -1,11 +1,4 @@
{
inputs,
lib,
config,
pkgs,
user,
...
}: {
{config, ...}: {
sops.secrets."grafana-telegraf-key".mode = "0440";
sops.secrets."grafana-telegraf-key".owner = config.users.users.telegraf.name;
services.telegraf = {