use systemd unit name attribute
This commit is contained in:
parent
df68047ea9
commit
6ee4a1c4d5
7 changed files with 34 additions and 24 deletions
modules/nixos/monitoring
|
@ -5,7 +5,7 @@
|
|||
...
|
||||
}:
|
||||
{
|
||||
systemd.services.grafana.after = [ "prometheus.service" ];
|
||||
systemd.services.grafana.after = [ config.systemd.services.prometheus.name ];
|
||||
|
||||
age.secrets.grafana-client-secret = {
|
||||
file = "${inputs.self}/secrets/grafana-client-secret.age";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue