Add Minecraft server to monitoring; add cridycei user account

This commit is contained in:
2023-09-06 09:15:49 -05:00
parent af510c71e2
commit 2405b72d1b
6 changed files with 33 additions and 19 deletions

View File

@ -16,6 +16,12 @@
targets = [ "127.0.0.1:${toString config.services.prometheus.exporters.node.port}" ];
}];
}
{
job_name = "eve-psr-mc0";
static_configs = [{
targets = [ "192.168.0.131:7002" ];
}];
}
];
};
}

View File

@ -2,6 +2,7 @@
age = {
secrets = {
cache-key.file = ../../secrets/cache-key.age;
cridycei.file = ../../secrets/cridycei.age;
gitlab-runner.file = ../../secrets/gitlab-runner.age;
graf-email = {
file = ../../secrets/graf-email.age;

View File

@ -16,6 +16,13 @@
}
}
mc.caitlynncox.com {
template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.131"
}
}
*.matri.cx {
template IN A {
answer "{{ .Name }} 0 IN A 192.168.0.130"
@ -40,24 +47,6 @@
}
}
lobste.rs {
template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1"
}
}
ycombinator.com {
template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1"
}
}
*.ycombinator.com {
template IN A {
answer "{{ .Name }} 0 IN A 127.0.0.1"
}
}
. {
forward . 9.9.9.9 149.112.112.112 84.200.69.80 84.200.70.40
cache

View File

@ -9,6 +9,14 @@
extraGroups = [ "wheel" "nginx" ];
packages = with pkgs; [ byobu tmux stack ];
};
torrent = { isNormalUser = true; };
cridycei = {
isNormalUser = true;
passwordFile = config.age.secrets.cridycei.path;
extraGroups = [ ];
packages = with pkgs; [ ];
};
torrent.isNormalUser = true;
};
}