Add Minecraft server to monitoring; add cridycei user account

This commit is contained in:
James Eversole 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;
};
}

View File

@ -7,6 +7,7 @@ let
in
{
"secrets/cache-key.age" = { publicKeys = all; };
"secrets/cridycei.age" = { publicKeys = all; };
"secrets/gitlab-runner.age" = { publicKeys = all; };
"secrets/graf-email.age" = { publicKeys = all; };
"secrets/htpasswd-dock.age" = { publicKeys = all; };

9
secrets/cridycei.age Normal file
View File

@ -0,0 +1,9 @@
age-encryption.org/v1
-> ssh-ed25519 dQ70Fw JjlCw/irZPT376ImrCS5zNx5E7H/5S01p3Yht6mDgGg
W3/sDbylZ8M9tfgnAFvsmh0doQJwN57TNw2DFp4M8mo
-> ssh-ed25519 ZIoeGg Ci5IhC62qwp0+Q/3zwQxCFpq/2UNJAIx4W9FAUVtvxE
6DB1HgElb2I2TQ4rY2mLvvu3k0u2wBcp7/68eDrLy9Y
-> nqe>L"N-grease 2i<P
2YwYFogi5KbsXLNFh7Teu3OLAV2PG6RwzvLqUygEuA
--- eCTcAOIJVf8fgiStOgRQMtaEMEN24gmxKQ0N7l4ag20
dv“*0ƒ¸Y6«ð)“.üFeÜ6ÂÖËZßõ=-™¸i¡»IE…{>Ê"Z×