This commit is contained in:
iFargle 2023-07-05 10:05:02 +09:00
parent 464c1ceed9
commit 948c4a427f
3 changed files with 84 additions and 84 deletions

View file

@ -0,0 +1,76 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: D98B BC6C 9A27 3246 54C2 D8C4 64F6 C4EB 46C4 543A
Comment: Albert J. Copeland <albert@sysctl.io>
xsFNBGEuKeIBEACiklPWFZHWa07mRjBn0Xg8lcH4OxS8eOHilaEi/h87L6lD+HHp
NMkXvuKIH8KxlA662vJqEubH7w8OdMXmO4HrJYvVGGin7naAZZBV2HKx5Aj2flEY
dmQi0j7S79nGXJaa4tZsnkSHHifdmItQThQbAZY+MGEeLqHdoac64EHjscTjO/uy
/HwrY7sCqaH7tQet/HNp3KHNSR8vVYi8pAhhEnlVUEafSTmGLF8Ec6hX/zW0DBDB
LwPTUKnRJH2jxKXLC+IABw2P5JxPi09kyJqv8F841lsPMwL+SSRSjrJ10WKRMh6S
fa1u2VNhaOk2Te88c/aQpet3Ed9Qq/SdtSTnc6g/cHoIxJyIZghzDLBNahLMJmMH
QwR9RmZV2a1axvqIeVZ7Y27IKYBM1jmBPKA41edvnq5yV1MgKFyYsLBvixp5JXDB
6LVrTiR0cItHezyVzbpLp5cmgc3Oo+ntXO8nKswYqb3R9PrtJMpWHW/BMdQg7vhD
DKbXk+mjn+dT+CpDuanyPjhqk2x5LLCAzSCCnbvFlj5ooBMebzwtV1kv7UGaDpLm
Kiyo6zvGlKDMnGCVWwkoyp6fpYFCGQKK2MDmZET67tfReADG796T4KiQGqj5Km/q
LOX49z48c8eEHIPerfmDyGBQRaW84dqadRqNQ5IVlp4VyiojARv89vecFQARAQAB
zSVBbGJlcnQgSi4gQ29wZWxhbmQgPGFsYmVydEBzeXNjdGwuaW8+wsGHBBMBCgAa
BAsJCAcCFQoCFgECGQEFgmEuKeICngECmwMAIQkQZPbE60bEVDoWIQTZi7xsmicy
RlTC2MRk9sTrRsRUOhO7EACgtRQtpd3TQ98MAvtLWwWVoh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udJO5y1a9/UMjK1+SqyO3jprngVu0VMpK
EKWEI4SKbqIjw65GxFv1GGvrUlGQ6E4ggsOKrplRqbDTHViVXyAa+cnkjetZwP/K
3GmIBgvGijrqDNcocrsfKd2pP7Kj1ajqrUZ4kQDiuSvKvfesbFcPaRM6LiDp0wvi
up7fD2FUWpq6+Jt7J65GaiF69oJjM4k25T3tphF5tc0ijyKAD0krRn/iqfPxVWEr
jlzSodZMjcvCX92fRj64VT/GPKsavVghHEnsJJNQkRaXGtxDQ873HG0VMKuEsQIv
qwQD160uVw2x7EGhQo4MQA6tqN1c3AbL0LblXs+Zb+QqPpXbbsHYTOayfS2qulmP
CbatjQwwkI0jp+GukOVX1DPLdjeKe5H/otaI4uXLoavQ3fUTIj/YiesJBLjhedLh
2FgBN7uzW9dRbHv/1Tu3oQYRlUKL6rGjVY37BNXg2dpdiuJ1OtaSvV5YM14dYr3x
iVwyWso7rlXF/zGRI8HEBe3yNGUQ1D4iNuuY3CnRRaPwYhvqsoO6XxMtUX14G136
08J1IgWoIIjZCf5SFlE=
=CwCE
-----END PGP PUBLIC KEY BLOCK-----

View file

@ -1,13 +1,10 @@
{ config, pkgs, sops-nix, ... }: {
# Promtail Logging
# Import the file:
sops.defaultSopsFile = ./secrets/secrets.yaml;
# Define the secrets
config.sops.secrets.promtail.user = {};
config.sops.secrets.promtail.pass = {};
config.sops.secrets.promtail.url = {};
sops.secrets.promtail-password = {
owner = "promtail";
sopsFile = ../secrets/secrets.yaml;
};
# Install the package
environment.systemPackages = with pkgs; [
@ -27,10 +24,10 @@
filename = "/tmp/positions.yaml";
};
clients = [{
url = config.sops.secrets.promtail.url.path;
url = "https://";
basic_auth = {
username = config.sops.secrets.promtail.user.path;
password = config.sops.secrets.promtail.pass.path;
username = "loki-sa";
password_file = config.sops.secrets.promtail.pass.path;
};
}];
scrape_configs = [{