add miniflux
This commit is contained in:
parent
b2c7f7be27
commit
0b72365fb5
2 changed files with 18 additions and 0 deletions
|
@ -20,6 +20,7 @@ in
|
||||||
./smtp.nix
|
./smtp.nix
|
||||||
./imap.nix
|
./imap.nix
|
||||||
./web-misc.nix
|
./web-misc.nix
|
||||||
|
./miniflux.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
|
|
17
pastila/miniflux.nix
Normal file
17
pastila/miniflux.nix
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.miniflux = {
|
||||||
|
enable = true;
|
||||||
|
adminCredentialsFile = "/etc/secrets/miniflux/admin";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nginx.enable = true;
|
||||||
|
services.nginx.virtualHosts."rss.isomorphis.me" = {
|
||||||
|
enableACME = true;
|
||||||
|
forceSSL = true;
|
||||||
|
locations."/" = {
|
||||||
|
proxyPass = "http://localhost:8080";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue