mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor: system -> systemConfig
This commit is contained in:
parent
512b1fc75b
commit
45705650bb
31 changed files with 127 additions and 131 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
config,
|
||||
system,
|
||||
systemConfig,
|
||||
access,
|
||||
lib,
|
||||
...
|
||||
|
|
@ -23,12 +23,12 @@ in {
|
|||
];
|
||||
scrape_configs = [
|
||||
{
|
||||
job_name = "${system.name}-journald";
|
||||
job_name = "${systemConfig.name}-journald";
|
||||
journal = {
|
||||
max_age = "${toString (24 * 7)}h";
|
||||
labels = {
|
||||
job = "systemd-journald";
|
||||
system = system.name;
|
||||
system = systemConfig.name;
|
||||
host = config.networking.fqdn;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue