miniflux
This commit is contained in:
parent
7beac309a4
commit
7d04597408
5 changed files with 48 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
|||
./mail.nix
|
||||
./networking.nix
|
||||
./nextcloud.nix
|
||||
./rss.nix
|
||||
./services.nix
|
||||
./syncthing.nix
|
||||
./torrent.nix
|
||||
|
|
|
|||
34
host/roam/rss.nix
Normal file
34
host/roam/rss.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
secrets,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.miniflux = {
|
||||
enable = true;
|
||||
adminCredentialsFile = config.age.secrets.miniflux-admin-creds.path;
|
||||
config = {
|
||||
BASE_URL = "https://rss.lan";
|
||||
LISTEN_ADDR = "127.0.0.1:8055";
|
||||
};
|
||||
};
|
||||
|
||||
services.nginx.privateVirtualHosts."rss.lan" = {
|
||||
locations."/" = {
|
||||
proxyPass = "http://${config.services.miniflux.config.LISTEN_ADDR}";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.miniflux = {
|
||||
isSystemUser = true;
|
||||
group = "miniflux";
|
||||
};
|
||||
users.groups.miniflux = { };
|
||||
|
||||
age.secrets.miniflux-admin-creds = {
|
||||
file = secrets.roam."miniflux-admin-creds.age";
|
||||
mode = "440";
|
||||
owner = "miniflux";
|
||||
group = "miniflux";
|
||||
};
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@ let
|
|||
"roam/firefox-sync-secret"
|
||||
"roam/forgejo-mailer-password"
|
||||
"roam/mullvad-vpn-key"
|
||||
"roam/miniflux-admin-creds"
|
||||
"roam/nextcloud-admin-password"
|
||||
"roam/rclone-conf"
|
||||
"tlskey"
|
||||
|
|
|
|||
11
secrets/roam/miniflux-admin-creds.age
Normal file
11
secrets/roam/miniflux-admin-creds.age
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 ydxpSQ WCqd5S6fXEgPHfe6PjcIGtu4BjF0X7MVe6Z3gfzl2lc
|
||||
6u3na95T5WUOonvKiPwmV9jaheZ8zVdoqwfshI7+ZWM
|
||||
-> ssh-ed25519 IbE9zA KD31Ephk84sV7tyscGVOHYCU+MAWc9G9AeefPxTt6UU
|
||||
I50rElHyBLfpKpIh1in1TdWQoIVmQu5VI4N1hViGasM
|
||||
-> ssh-ed25519 gbs8eg +KS4cQSPdYEGbIJuyiddnZsuu2qBB9r0Mx7gCedMb1o
|
||||
IqiYlGUeynCSiivYgZd3zJrAaRrmeG9Y241gKGvWPOo
|
||||
-> ssh-ed25519 FTMbvw NBRl3eYsEcrLKVBQS8wu/voZbBc8VgbCT9G6wQNpfnE
|
||||
pkVYWMx7MXM6XwQt1G0gG3OQwyetG7H6gum1xwO6xFg
|
||||
--- XgOAaXQzH02/7egh+Md0luFtk9Mtl9eaSoqjva5JFzE
|
||||
ªå¹ŽdÞàëD:ØCG¦ëü*ÆŠiöÄ8É£,•òC!h#TÝÐøé¯7[tJË<4A>럌ÎçÁ€\Ãl¡µ¸r° ¯”ëRB»Ñ²@ñT/Î'³âût‹9ˆó%
|
||||
|
|
@ -38,6 +38,7 @@ let
|
|||
"git.lan" = wg-ips.roam;
|
||||
"syncthing.roam.lan" = wg-ips.roam;
|
||||
"qbt.lan" = wg-ips.roam;
|
||||
"rss.lan" = wg-ips.roam;
|
||||
};
|
||||
|
||||
syncthing-managed = lib.mapAttrs (_: id: { inherit id; }) syncthing-hashes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue