make miniflux module (broken)
This commit is contained in:
parent
a20009be36
commit
e60c2e1027
5 changed files with 26 additions and 23 deletions
|
@ -5,10 +5,10 @@ _: {
|
||||||
#./discord-autodelete.nix
|
#./discord-autodelete.nix
|
||||||
./firefox-syncserver.nix
|
./firefox-syncserver.nix
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
#./freshrss.nix
|
|
||||||
#./grafana.nix
|
#./grafana.nix
|
||||||
./i2pd.nix
|
./i2pd.nix
|
||||||
#./minecraft.nix
|
#./minecraft.nix
|
||||||
|
./miniflux.nix
|
||||||
./ntfy-sh.nix
|
./ntfy-sh.nix
|
||||||
./owncast.nix
|
./owncast.nix
|
||||||
./plausible.nix
|
./plausible.nix
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
_: {
|
|
||||||
services.freshrss = {
|
|
||||||
enable = true;
|
|
||||||
baseUrl = "http://f.jacekpoz.pl";
|
|
||||||
database = {
|
|
||||||
port = 7425;
|
|
||||||
tableprefix = "freshrss";
|
|
||||||
type = "pgsql";
|
|
||||||
};
|
|
||||||
defaultUser = "jacek";
|
|
||||||
language = "pl";
|
|
||||||
#passwordFile = "/run/secrets/freshrss";
|
|
||||||
virtualHost = null;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.caddy = {
|
|
||||||
enable = true;
|
|
||||||
virtualHosts."f.jacekpoz.pl".extraConfig = ''
|
|
||||||
reverse_proxy * localhost:4834
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
24
hosts/chmura/services/miniflux.nix
Normal file
24
hosts/chmura/services/miniflux.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
port = "4834";
|
||||||
|
in {
|
||||||
|
age.secrets.miniflux-admin-credentials.file = ../../../secrets/miniflux-admin-credentials.age;
|
||||||
|
|
||||||
|
services.miniflux = {
|
||||||
|
enable = true;
|
||||||
|
adminCredentialsFile = config.age.secrets.miniflux-admin-credentials.path;
|
||||||
|
config = {
|
||||||
|
PORT = port;
|
||||||
|
BASE_URL = "https://rss.jacekpoz.pl/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.caddy = {
|
||||||
|
enable = true;
|
||||||
|
virtualHosts."rss.jacekpoz.pl".extraConfig = ''
|
||||||
|
reverse_proxy * localhost:${port}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
BIN
secrets/miniflux-admin-credentials.age
Normal file
BIN
secrets/miniflux-admin-credentials.age
Normal file
Binary file not shown.
|
@ -20,4 +20,5 @@ in {
|
||||||
"plausible-secret-keybase.age".publicKeys = niks ++ chmura ++ del;
|
"plausible-secret-keybase.age".publicKeys = niks ++ chmura ++ del;
|
||||||
"plausible-admin-password.age".publicKeys = niks ++ chmura ++ del;
|
"plausible-admin-password.age".publicKeys = niks ++ chmura ++ del;
|
||||||
"yubikey-u2f-keys.age".publicKeys = niks ++ chmura ++ del;
|
"yubikey-u2f-keys.age".publicKeys = niks ++ chmura ++ del;
|
||||||
|
"miniflux-admin-credentials.age".publicKeys = niks ++ chmura ++ del;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue