Compare commits

...

2 Commits

Author SHA1 Message Date
12002fe4c8 feat: prepare secrets for hosts 2024-06-14 18:02:35 +08:00
a5e85c6cd8 feat(nasp): add ntpd; telegraf ok 2024-06-14 17:55:59 +08:00
10 changed files with 298 additions and 2 deletions

32
hosts/g10/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:Ysiq707J9IUr7dHX4IPWS0vGLHHJ2puW6EIvPcSm8Cd2A2w2FcBcYluA6LLxTDoXcetcTHtksGvEn3bxezj5zHu0XVvhRSvSmFpvL4Dka+f27uzsIEiBG5VNvzWYLNVMZhXwRAqdn/dLj8RTctEQPw5ZtA6pWp3kDF5u/Hnw7Iy7wUGzdF9cDx36pXnitJ1h,iv:glVmtTSWq4fInCjQp+dRarOBUgDEGLT+3VYqpJtBkmQ=,tag:3nSOzJ2Noj4BSz9cDvHBqA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age15v6levndaa50p69d0hhgyhaduazre6zrgca9rcuc728umaenj36s2zqj93
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSA1UGFPS2IraVRMN205aG52
SVAzOC9VVko5WFE5emJzcTlsMHNkandmL1d3ClJaSXJHekNRa3NxeFI1N1lSMTFL
VVBWelFOa2ptVWtDNkJUL2xYRmcvc3cKLS0tIHJZR3lpVC9Dc3Q3TXhuenhQWVcx
L3A2b1pWSXRSNGlOWUZSNHQyVHgveFUKlssVjZ0K0hoEw6cOImXOv9bmudU9x/ZH
bouSlccZlxcu9tuJY237edDLvl3YB3sj64MyWfCYRrdK3OTTTWZPhg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:58:58Z"
mac: ENC[AES256_GCM,data:kNj1zRvpeaCasjXn8ZKuusHqOdO67eKrIOedX2/3UkdXsa7a3VmcqPhiiEls2xKooilS3bQ8YQqyUFMTatmyf7GvQNtkJ1mSftD//sIQ4BjhOit3OvEBaMh06ul81UR+TDokuGG5u8Wk3nsv2fzHqOMnW2YlhtX6sE6A4GYiD54=,iv:s6auiaPE8vujnrWKqPIOLC7SMFrNqyaAuVd1xI2Qq/s=,tag:ijHWCE8vmfiXrVJATkJSBA==,type:str]
pgp:
- created_at: "2024-06-14T09:58:46Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAy2xOXhMWKsGd75oGwFVj6AJMOXyhDHrKLYysxFKlFwIw
psueL3mZrF14q7hv45Kj/8gWzgITrXi4BoO9jmLQGz9/l1b6kKdJwS1bgU/IB9/Q
0l4BF80JPntKr1LiAJvfLTfvVoij6x54+z7Fkq77AwP/6mQYsFzmfIkDV3xFXjqd
0Lu0tnWEY1avrF0ozOH8ZXUnpPX9bZsbqfj1yCqo1UU/zE8PQGtVXf70Dw6BfdZS
=o0Un
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g11/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:mPQGZlPljXWpwygNSw6HVSzxAlnnZU0CaEBKQ75eJasH0K0yUrAkPJdfQrgsmhUmijM4LK7RIbAABGB1LAbe7N53btpxAg+17a8JT6/VcQXf+kFlIpDSLo+5PL2DS05a0XXtyWdmUhgLX2cca1rEkrLt1b9wqlMGXyqPtxJBp8VxpB//ThsPO7c6pOvWAslx,iv:DN+t4HDxVY71O+WLgXPIV9aRjDskrMNtCSDeoLVUbpE=,tag:BfpzAHq5UF5dD9MVoWviOw==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age19rgse270d0aq8kwzmnalafvrwqrjdhyrz7dejlar0dypf20hgclsx5h720
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBSQ3ZHQmwxRVg1emJTYTkz
aUR3REU4eDNmS2NsUUxvY0xGdGhqUmRMQUdvCjczeHUxSnJrN3o5dVg0VEdDcDFx
MHhhbEFNZUF3Yk5wTlVoUUdueW81b00KLS0tIDZ6cDViMm82REl4dXhicUs0STI1
L3orc0JuL1pHZU8zY2UzYitRemQrdW8KcpgJ0xXSmD6UI4MF5HBjoF1Eh2UXHOBy
4oLgXUQJyA8G+m6fn5wN/e998N8eZINUbOB6GnGWcPShBh7B7b9DMw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:59:26Z"
mac: ENC[AES256_GCM,data:OBtqnznpMRINwq4GUtrFnjRjBt/fNxBRtxCXEpsetnoFypLA8vwQLcKP3YetCd4VDTiHpqBroAyRJK5aeDGJbwMRglR3bta6hWxoVzMYAN4jHlVhdorSTEKx91vVpp35kYQ4EljbOEcDP+ioKxsEx26onMCsRYbwJyBygoNLo9M=,iv:1LPlLny75NPrWDh0CA3sePDoeCclii8jtwSQoT+hl3Q=,tag:xiYClFxDae8cdisycaALmw==,type:str]
pgp:
- created_at: "2024-06-14T09:59:01Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAvI8GLFvTohWgo9vXVHjWIPzS/zJJE0o/lWQZBz746Vow
z0TdeBn3fagTUhXVswjAu0kK4EIgDMtOl2Y0a4JhM6veA1li92kC6ew6ZJ+QA348
0l4B5DxVJMJvjjWQUF1o6PhaWaPag8BYSuVTRWT89qBOtCdajoNK/EiHzOYlTb4a
W/XEw/bZxgzYXNWg9qkWOnkpETXGvgzSJpJ9wXOmg2Yv/AM+xvNuaHpc8m5pp247
=dA7O
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g12/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:DvqJxmLSGfnwZKhrDoU+j+WuyoVvNHJOxiZv7jKT012I9SQFNJNxBt+0cnGKD74mPViRF+H3A80n6vhQTDK1/QmAtQ/NDd6ImghExiF0kOITEGXfrswB25IjSo0E4k/zqDOOoOAZq36WHqB3geBVhoi32R56AJXMrfLBCG/TkfBIcodMMwn0UGRGUqDBpL9c,iv:a5u+c1zrnjbXs1ZyXWqTrert0JQlRv6bVQNujCt5sPE=,tag:OdbCAwUsyZgFbp9MBsWWWQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1mxqwn0gw25yaj48nkhe4nsc60l25nam0fdlaeqd8z5ft2rxhv9ksuc5fyq
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBpRXJzTk9HMDFEQTdmK2FS
bVZqNlJRZVhHTGo1QzlhR2FOY1p3VHZzZ1V3CnpjaFVvYXpCYkNodFJES3FtcFIw
SXIrM2hWUG44YnoySmpwRW1ETFVOQ2sKLS0tIE9KSDZuREVaNjMwa1NCcGlJbmpC
NE1vcFp6QlJOSHlEUGlrL2NGeE5rUzgKNrZqiZBsSMP5rnWSKMWaF8xsXMpvXxx5
99gUPFPJrTBg1970njfhGcVxTNtrQr7ZLOvYcoH8PP6I+fCUYmg1ow==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T10:01:36Z"
mac: ENC[AES256_GCM,data:vriZFUoSLIOh1FThbyR74R/6U2OeYQ3dO4D3p64FIMw6oeCWj0/Yj9SW4o59AF81mZQk74OWrrt8A3plvUQHWkxZxMp2Q/Tpbj9xkUsdv9+HaAQMCsgXesdM9KcRlxt8Oe+IdoMXBECD3cnPWUHSJ4HUfSV/j3cgB0PrRW+Jm+w=,iv:66wN8rL7ZN2Qb//v7aH1dEHFX+7GBSXTH5uuLCgObbw=,tag:lzDhy0y6HKbc1uTU3Dp4mg==,type:str]
pgp:
- created_at: "2024-06-14T10:01:32Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAKESSzdZsi3X5iYUFyeUQp7PatKQ7Ab7XUJ6Mlmxd6lsw
uHrn6dIcY33FoZg/6oK9Y0tCMkIUrCQRaEncBh+acy3/m4R+tinukz2W/MlNt5nB
0l4BjSORFrZ2OtywHqctrVyK56TDiLAKH6+cBdIWweEyH/pR8gSmCrwKEtlUERlK
+KdA7k1jH0k3Mz0XOWUMeilNLamgRvQSS7aUAArlfMmZIm5t6MHSXRy4ikpw497l
=hkNB
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g14/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:M/nrpKynvOFt/TdkWhTBIMmllOv8Bo6gNcFUUh2H+CLitAIs+vnsdkrDaDrHVKXjYhPOfuGQks8ODPtiCaXM+RS3MEAv1/l2r0m7irr43QXV+8+ZgcZBCjwp9Rfi7naZPBtxv7hQdaPmOF2JqkB4BBGx6e5Fibve/cN02jUUBZNySq/aSzO3ezDzAOxwz75t,iv:bKOmEvHZUj+QFPzdCZ1bFyZobssw/fyLfHgIALamSJw=,tag:qTXTbcTs/9Pm5pErRbvb2w==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age14zehkczemky9y0gucf245zw73y4waq8w03lqakanlvjyxgwzcycqj47shq
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBjNzJwOG1hUi80WmY0b25o
VE5JQmpiQVZWMlczcEpNNzFBemVqVjVvNDBNCnE4Vk1NM2xnYVVoeE9CY3BIeGJh
Mkt3cmtlTHhyZ2xtdms4dVZ6S2R3eGMKLS0tIDVOMHZ4VFY0TGpWT3dMUC9jd09r
dy9KUGFxZGJyMzJPRkdMRDJ2c0I4VU0KHEWGdCxACNB+Nv4mE8ASQBkZQGMgt4mD
0ATR55G1c8DcYJ+v3+lgAj8q7KAx6xtXR6ni0/jz7eBdIYDUGNnaBA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T10:01:48Z"
mac: ENC[AES256_GCM,data:a0Q4Esuz7D0k4nN8DhMo4idTm6wUjUwe0CcOZ1zptfgQWrHtBgEUQiHgpDZuf8GQ3jBpSng7JttgxIkZoyXLdf4MJCMxcqow08HVuzPt3JcPPvex+NHl04Riv2KWExhwOkCFzQJRoeRd9GM95QdrwlVDB0Osp9ox8AeHlKz01ko=,iv:oz75JzdjAeTLKvgFRxRBw6J5JXjLF1d/FPhaUr8qtLI=,tag:KBykShkAdJ2ZuZttLZWntA==,type:str]
pgp:
- created_at: "2024-06-14T10:01:44Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdA6IaEb7c719rkzVhuK/zBi3l6gBLKSgtnKyaMVE0pVzsw
/1kclQA1veZ3rsJ1ty92a6Y+fSi7/xcCvmy3IBRxP0cZmObjK8Opxn/pZfQMd91t
0l4BFyn+j8CWYQ1ehPnxt/JSnr29b24ebSviqlvejc5sFT55jOAhNHxgrVRb3rKX
oL20lhGbiPXaJvgcm6G7hLLlxDpWRgp8yNQbxTVkhc1gsOs11sskqgXXHVhvfOGO
=njvN
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g2/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:ixxM1w3nHDtbqF+2yQJcpr0kDuuv60h8kBxKbve7iYzMux95dV7anlHHtVu7nw95PYZZPA7K/SzqGuLIHoawKANH+XmlYenasWToox1qqS0ZZ4dzPJ1890bhTdTqpdTq+NRaQeYXUHUwhu8c6VulgXtOJ+JlBFNHIrmCKAMJJ+zkp9EuMpn6aTNaFhM5ceHF,iv:CusmI6PaRTnBPT3wjSdr/IdWijhrsVPo7fvWwvPYQAM=,tag:C/IHswAOdxSOAx8/3h5RrA==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1rys66tr9cd38fag98wm4xe2a2z7ye0qzr00jgz2wdz6njvkp3scslfd0mh
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSB5OFpWMnl4aEppYTlVVytt
eThjdFdBMEdqRVM4Nk5MRnA1VHRValgxMzE4ClZpZDQ4QlNiQjdIdHF6WEQ4SzJJ
WHZ1SnhKUVg5dmppWjJGRkkyMy9iaUkKLS0tIHlsYkYzYUNDWTB5dk9aKzdHT1A0
SlJRRkh1TjY1U3pPRXNac1Z1UERLSVUKfDoyXzRCh+T3HpoZtcbsvt1HPvH1H7LC
9lAoHZRcWuJ1PwYB2SUUFlaCAiBuN3whj6OYZg3CIgVZDNCF7y59ug==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:58:19Z"
mac: ENC[AES256_GCM,data:soD6/RguH0WEVsAyB8D/uV0cCfXhJkj38uYYryRU23aBaWjKmBrh7GDtZi2ySvKJmXs69F5w0xYFdyesSeKE7J/RZmtEhZXA6lFPv1vkHoCoTGJfGkeWwelx2CksysZqEPW7W8Oh6Xe0ac84ZTVzeTH0CAq9kAr3t5ORBIAWB9w=,iv:2pDm46r6BK0rl6Vt8yH2kyidnQoMIn6JUkNrjNQiG8I=,tag:4vkktKfpZfZ60kfXBH96tQ==,type:str]
pgp:
- created_at: "2024-06-14T09:58:15Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAtyHK+OfiUbKE0MaORsd82Gl6j+EJ3JFoObxDK/48GV4w
7WQ3A6CmnCOo4p49g4d6Yz+RzNEgep4niG1mjxCv6n91XAlACEVaJxks7oiuqzDh
0lwBKb0dXGEFaG/HAnagF+yZyInSAU0UrDXuP2HJb0qTtONlOkcU8UTTLCihfdaT
Vm8xEQgFpfwsbabOauCXdirLopQLAe2GvYrXIaByhRM5mwrXnb9AfH1Lxa+ggg==
=Et8i
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g3/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:i5XK79gyjKgHvyeBooB7i7pQoMdyVGfNiDbLuvwREwpjJTO9PXarqZIUleFcNMHhTREJiQOqVJvUYMfypi0i9QiUrLFi4fp0aJsR5uU1ruz5srKgHXyCpCLif1FPm6otFoy1voLTLa3QXHN6v3uFDUMXdutDEEe3r9ThCML2rC3IqmwqjnzU+eTHR7QeTR64,iv:Q3w5E/UtK0hzX6c+UxT9dZAs9lY3B1d1fbKIgCDCULQ=,tag:WS151o9WtHibPrvbE0+bag==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1gfyfc6tqphyw64ygg4w8sj73pqzycfsc4ptwyhau0sk4q3ffqprqwxexsy
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBxaThIdmFiZExTeTRYSEEv
dVFNaWlIYWpUN3RUNExsN0d3VFY0KzRzMTJvCkhnaCtBRU5RdVBJSC9UaGZad28r
anRRQnhrWndETm5KWVU0SDJ1ZUVKZTgKLS0tIDBPbDRKMzJybUpsQ0tKdy9aYVhK
cnpJcWhBTThYTVZkWUpYYytlSWUwYkUKr5D6gseygCm4JSNy9lp45d24PcM6FbDG
RJD1grIkl8nZ70xj8jmDwgr56zV23/zMkWWVDDb8+I5lDuVlFWv4jg==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:17:04Z"
mac: ENC[AES256_GCM,data:sb+sgsVqb5pBThMvx7LXeyxU1tYmjnzWMUNlHv78z9NZETSKvY6HIIhT2OnpB22GkKqZ4Jpn8qSOWF9nsNhQf749tnkACEK092pWfKNPQ/xscaTJoxeRSns6CZ2yacU7AzG/IS9UKc09cJUwq0Hujz4czNnTrzK7dTawLzHZFFc=,iv:tLpoA40B0pk6n/D9qnsKs8j6Ql0ZSqs30h8nhh+VXOc=,tag:a2ttdFElb0jTzi9XPWiUhw==,type:str]
pgp:
- created_at: "2024-06-14T09:16:33Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAjoLG8XJ49iBHSr3bCcS7H2TLBIIcL6hr8YNHGBWJ0wkw
lWVWJ7+JwD/CiXBnuMaGY39ARzLlOYSVI75yuEETX6FpkU88Qt3BVXOY+W5RJcUs
0l4BmvKrx8rVIFawWzijNdvhw1wh4LanLTgEe15m/yoRsD2umSifrriY78Mw/Vkd
LS8zH6TA6EyCwYSpR80UXlxxTcUOfXEK/ip4084hQoW+aq14rlI2nE+LXhhJX9Tc
=EB0p
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g5/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:cKeEnK2aZIrM2dzzTIxSdX+zzeY0vmxI8ZA+np+VKeWbBwsn2y5GXwR0RTnAl46KUAXx+RgKcIHcOuqCoWdjV5J+TOa4CkZngcR8SHZZlSnl+04edOp+zfqdMX92Pnit+1J3qC0iKphgXhSkbdnoc/9HpJsjCVY3J4Rr7ZoV5wMFR05mzGxm5qIziOg3/ntl,iv:IbnwMhnkmt3e/swct0zTqIHY1dyIYRj1bvdjM05DuaQ=,tag:NEqWxIJGGSjIxQ/a8Ka6MQ==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1fy8qhzakfy5wd47fc27jzp3yag6h4fzrkav2slahvw27v8hctdpsgkj0dm
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBZbkYwTEJla21hNFZETnhh
cU01YkVUYS9FY3ROVWtpOFNaNG9ITUNjU0EwCkp1L3VwbXkzbVJVNEhrSWZobnJs
cXFxK2wzaHZETmNRTytKaFI5VEZ5OG8KLS0tIFNMRVVKQkRGdjlia2VwcVVtSG9E
TVNjTWlCejVSTzBCZVQ0b2x3bDFadm8KWXdjRhJfTDINmq10fCJj754hd2hldZTt
LganLAMXLaB+76Wi02aAaJI3ZLpsqg8zk1xa6jGFiRTi6lySByn5Uw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:58:30Z"
mac: ENC[AES256_GCM,data:MQC2dmyism4zaEzKwpHMhblwQ76mOEBOAsB22JQZziav/5CL0XmwPDrWvRp9LvLLtCJFN8UJ/FHzpWVsTOfd0Na1lPUhwQ6hLdX8vRzI8zaZEigpLHlYa8APXiGR3wACHI1jHmwts1iUY3UXdqu82mR1jQvpxa+GvlTVMWlk6TI=,iv:m7ULpSvQt8llVbEfHbzbYbwXLdXvoaFaOBiYvQNHDcY=,tag:hfsKgZefWctx7kx+1vcIrA==,type:str]
pgp:
- created_at: "2024-06-14T09:58:26Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAkeght73G7ztUQ13M3u8IHQ/C2L6WyLmb0p2UemMCzHow
jiuzb6MndLJ5YepseTqDw2vpxTlwOIMFs4Zkaum6QvU2T8Zp/kNo5LWDfAfwfHs9
0l4B14tZMdgSGKQkDv+s1Ps2vsn/QXhkQzp5GmaV546kqaYGCmDAlMZ0WlgK63QB
Pege8rRgM1lp4gUINiFOLQSEv4DKgZpdZ9af8WUq5s3VuBjAUWS7P6Ym09POp0Y1
=KV0E
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g6/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:1IGsHZIx83QZRz9+FLuWj4kI3r6pOAUBE/fYbsBMfaH9HZahiZHsgX2dr91GbhPSR+RVa6YVSWAg+PHY+SDDKaMCyCiPVKnh4FaqWuX46VIfCbmSmi7tALKX7UHHby4UypTPfL4NnB7F7bOG7kgw+jai9W6RGtKbJry0aXRTsiOIvUXYoja/z2iGi+G+QZ15,iv:J9GVNdiEA2yyAzAhSdTkzgfnCxrl+G5k1WHkKSnJOLg=,tag:2I4WosyOHtTkENAxfaUkJw==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age19p9nxw3us3q3yu7gcvlhafw894jwe3ux8dcjmq7cz8z96we2qqrs7en54a
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBxcjlRUzV1c201V1N4dW9H
dGFmT20wTnZpaEY0bWpwWWpIeVBxM3NnNFc0Cm50ek83eTBRcG5jVzkyMG5aazNy
K1hwa2J6MWk1SmZXb0U3eFF0Q0FPcUUKLS0tIEJ6TFllMlllYU8xNVNhR3FQQ21M
cjRxYWsyOHNqTzVLdjY0WGJVcmZ0SDAKSdU9dl0pZatuU1wR4ozDRmaW4lwjRNLx
L6mJNhECa85Dx2i2FPMoke0bbvp45skv9XOKzjD8bZEPze91IT8oqA==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:58:35Z"
mac: ENC[AES256_GCM,data:C62glRzosGbdzWRGkgsl7ca+ltkh4N/s4Tnkp41pUJXeEar8mVCCKwpJja6eaB+iA+OWgFPaRwRXpZ7YTrTRSyBbw0NGF9SQ5M/PwLBU6orczXjctIbd10Gg3vxabguZB4CQPRiDVwXngjZ/yBQlebIrhvvEeEP0vNG7ZRYxxm8=,iv:uGZ62NksCkRM8as+SQSxLJghvrE+LgqcqUDnUxw0s+w=,tag:Vmn+dsLH+K9Pl4pNs2V0Pw==,type:str]
pgp:
- created_at: "2024-06-14T09:58:32Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdAtXUbWuZq01jieKxQPq20pjBVy9j8yTtYsm/vN5ocfg4w
wRXHoKtiKsecNwAkqNbvjcF4Z061lcTMhnNchEtMM3k0MQBTugOfbGhrKO4wS+Lm
0lwBQP71KC/Y3UYULokAD0uU1dmKB0p6PKTg+YoORjWsQ3tnn61sKqtJloCOO5np
81o/Ar2oJg1GUIXOx0Yb6f3an6PC+2JWgsn/cltyPNBOQiyqumsqe57H//FVsw==
=kwrL
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

32
hosts/g7/secrets.yaml Normal file
View File

@ -0,0 +1,32 @@
telegraf: ENC[AES256_GCM,data:AlLFOrz1zQn5+SjrpzYEoPsGX326wKqjw1BwHtBVDQbAUrJi43a4spFZnTzIjD4PE4Pr0fsekCZf7ZCe8OL2lPdjnkLTMoDLxaFLlEZx9sUWy4mFVccrmAvt3leGHMwjNhkHZhr4Ns4gPVmJFothpzcj2es2VjCiIAUDrdg+7ukSdhTjgPYOhwA82LZhPEtb,iv:ciyJbC2GQzK28BFQ6DdUHP+s8/lw/3hrJfgidmP/BQM=,tag:L2PRat8GEhALwYkYGAMqKw==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age:
- recipient: age1zvcjq6dvsejnusny6czett98ld36sjxye5qxrazqup8we37kyf6qgkrqhw
enc: |
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSAxYlhCeXZQbWtjVlNPOVQ5
V3ErKzMxTEpPWXpQdUtGN0RXb0syL3EweGhrCnp5dVREd05nWnZUZDhLenRkOGNR
M0FVSjhJMGdJcG1aZ1czc0QrR0lCTzAKLS0tIHFaNzAydmJ1ZFVna3pqZWsvTHNU
QU02WWgrOXRoK29Xc0wzNmFOYXZ5Q2cKZ8RMx4jSjwyOJRLJhV25Jtr9PkkXte98
X8Ek4qsAUJG82uCqljZVJGHU8lPzZ6GYTVLE2SNIkh0ioO/yH+x6LQ==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-06-14T09:58:41Z"
mac: ENC[AES256_GCM,data:Q7rg1/1yCwh3ZvIdm+M3m9NQ4fcVP9kiQXT/7SSvrZ3dLXfojlCCHVGwbSLuCambQgfoPbs/PLhW4fisITdIeiC+cUrHZ05/7tBnSrdLjtz7LumxzJWMCco7k9OJ3fCQ9BMiUZ2TWqQUpo/r4HFUEaGYpM1+5XhKdPKzTea4xM8=,iv:MJymH2z5DeFx6rZ5B1U9N4RhcnQ4ySz20LinxYly4fs=,tag:MmUbvHwjioYTcz2zU+dCiw==,type:str]
pgp:
- created_at: "2024-06-14T09:58:37Z"
enc: |-
-----BEGIN PGP MESSAGE-----
hF4DLBF4i730Eg8SAQdACJk3GLxGx4UN+xt+oH1O1tmEMjFEzK5rHrOl95OHEn4w
5dKV+qPPHRjTVr3hYyBZi1sbIMv1G0+tkijIw7Z47snlUPq18k9MJ1wiuPLuaPwp
0l4BU2Xcuc7lor9MypVd011kSr1e35ZNG2nWRBFekRBxMaWHxPdu6v/RM71VTdBb
klDHQkMMPQEnidme285VYcKx+dfGao9gZXvrvt0v4fKo96HXQNkYeC6ZhM6/OHMk
=XPb9
-----END PGP MESSAGE-----
fp: 3E241558655D7FE06C6711A5A5D6250D1806CAA8
unencrypted_suffix: _unencrypted
version: 3.8.1

View File

@ -248,7 +248,7 @@ in
## mkdir -p ~/.config/sops/age ## mkdir -p ~/.config/sops/age
## nix-shell -p ssh-to-age --run "ssh-to-age -private-key -i /etc/ssh/ssh_host_ed25519_key > ~/.config/sops/age/keys.txt" ## nix-shell -p ssh-to-age --run "ssh-to-age -private-key -i /etc/ssh/ssh_host_ed25519_key > ~/.config/sops/age/keys.txt"
(lib.mkIf sopsCfg.enable { (lib.mkIf sopsCfg.enable {
sops.defaultSopsFile = ../${mainCfg.hostName}/secrets.yaml; sops.defaultSopsFile = ../${config.networking.hostName}/secrets.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
}) })
# telegraf # telegraf
@ -267,7 +267,7 @@ in
flush_interval = "30s"; flush_interval = "30s";
flush_jitter = "3s"; flush_jitter = "3s";
precision = "0s"; precision = "0s";
hostname = assert (mainCfg.netName != ""); mainCfg.netName; hostname = assert (config.networking.hostName != ""); config.networking.hostName;
omit_hostname = false; omit_hostname = false;
}; };
outputs.influxdb_v2 = { outputs.influxdb_v2 = {
@ -291,6 +291,10 @@ in
fieldpass = [ "used" "total" "bucket"]; fieldpass = [ "used" "total" "bucket"];
interval = "30s"; interval = "30s";
}; };
inputs.temp = {
name_override = "temperture";
tags = { bucket = "device"; };
};
}; };
}; };
}) })
@ -392,6 +396,10 @@ in
tags = { bucket = "device"; }; tags = { bucket = "device"; };
}; };
}; };
services.ntp = {
enable = true;
servers = [ "192.168.16.118" ];
};
})) }))
]); ]);
} }