Added promtail restart rules

This commit is contained in:
iFargle 2023-07-05 13:20:49 +09:00
parent f923e75a03
commit 2244d34ac1

View file

@ -6,6 +6,11 @@
sopsFile = ../secrets/secrets.yaml;
};
# Restart the unit if the secret changes
sops.secrets."secrets.yaml" = {
restartUnits = [ "promtail.service" ];
};
# Install the package
environment.systemPackages = with pkgs; [
promtail