feat(tazjin/koptevo): experimental miniflux setup

Change-Id: I2020a6bf2262966d41d3b47a17b122df121d661d
This commit is contained in:
Vincent Ambo 2024-02-25 12:47:32 +03:00
parent c63b9d88cd
commit 9a5a1ddf24
4 changed files with 38 additions and 1 deletions

View file

@ -16,6 +16,7 @@ in
(usermod "geesefs.nix")
(usermod "predlozhnik.nix")
(usermod "tgsa.nix")
(usermod "miniflux.nix")
(depot.third_party.agenix.src + "/modules/age.nix")
];

View file

@ -0,0 +1,21 @@
{ config, depot, lib, pkgs, ... }:
{
age.secrets.miniflux.file = depot.users.tazjin.secrets."miniflux.age";
services.miniflux = {
enable = true;
adminCredentialsFile = "/run/agenix/miniflux";
config.LISTEN_ADDR = "127.0.0.1:6359";
};
services.nginx.virtualHosts."feeds" = {
serverName = "feeds.tazj.in";
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:6359";
};
};
}

View file

@ -0,0 +1,14 @@
age-encryption.org/v1
-> ssh-ed25519 dcsaLw SJBK+ym6o6dcB/+HFWzArbXS9RmyDjnglVxcXduJA1g
pPWIi2A4G4X7I14HoZUWsNd/MOfhW1ZanwB/5OROSrw
-> ssh-ed25519 zcCuhA oo/8OTqpV85g/9pha0qkmxwlYAlsc7v+nXbbtj67Jmc
AexsAIgW6e5fYoPNJJZYdP61OvON2bKiL9ZJgLdG/zU
-> ssh-ed25519 ph9lig 4evTl0M3SfdlmTixm3WnVqfHMPf/TYIyBKPdlfPisC0
AK4GyhgqXN2wxbcFRGwbNNQJ4/2iFPt3CKGHosNJbmY
-> ssh-ed25519 At5Mag JJ8r/qD5i+LLAY7jnnHXAgykAuHtzxtGGzdqw7BAogY
wotjW3yaTq1IdqVUwoCVwzglXsmnzniQIt7SDBrF4jY
-> sPHo{W-grease , h6 =mEp^w `ccnF
QQEb+Vh1+Fv++oPQwdTfOB2Cg5JaP4GCOq0o3J+xSqCY1gE0cguwLGXwa6+Tylu2
Kuh4pMovAxnlHUt44u6f
--- yWQyncCrxJzVHffFaFT704BEp8hjUn09a+23r4S39N4
}»Ò£Ï ïl ˜ØI&Ým_ {é½ì¨XÌ®¿´ë?f1M½¨É§|„ÆJ‰ý½×VÆLä<Hõ5 ŒNQöã¼æQVìÛ#>Ûç§s2<>M°0 ¢Iþ

View file

@ -10,6 +10,7 @@ let
];
in
{
"tgsa-yandex.age".publicKeys = allKeys;
"geesefs-tazjins-files.age".publicKeys = allKeys;
"miniflux.age".publicKeys = allKeys;
"tgsa-yandex.age".publicKeys = allKeys;
}