remove promtail

This commit is contained in:
Cyryl Płotnicki 2021-05-08 14:30:44 +01:00
parent ba67c3ac22
commit 86f1aa301c

View file

@ -1,20 +1,5 @@
{ config, pkgs, ... }:
{
systemd.services.promtail = {
description = "Promtail service for Loki";
after = [ "zerotierone.service" "network.target" ];
requires = [ "zerotierone.service" "network.target" ];
wants = [ "zerotierone.service" "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = ''
${pkgs.grafana-loki}/bin/promtail --config.file ${./promtail.yaml}
'';
};
};
services = {
udev.packages = [ pkgs.android-udev-rules ];
ratbagd.enable = true;