Compare commits
2 commits
53e72627b0
...
34defccf4d
Author | SHA1 | Date | |
---|---|---|---|
34defccf4d | |||
c59079e1f4 |
3 changed files with 42 additions and 13 deletions
|
@ -43,23 +43,18 @@ in {
|
|||
port = 6697;
|
||||
chathistory = true;
|
||||
channels = [
|
||||
"##chat"
|
||||
"##politics"
|
||||
"##rust"
|
||||
"#datahoarder"
|
||||
"#git"
|
||||
"#indieweb"
|
||||
"#indieweb-dev"
|
||||
"#linux"
|
||||
"#lobsters"
|
||||
"#nixos"
|
||||
"#linux"
|
||||
"##rust"
|
||||
"#git"
|
||||
"#c"
|
||||
"##programming"
|
||||
"#hardware"
|
||||
"##chat"
|
||||
"#OSRS"
|
||||
"##math"
|
||||
"##physics"
|
||||
"#haskell"
|
||||
"#soju"
|
||||
"#datahoarder"
|
||||
"#startrek"
|
||||
"#indieweb"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
@ -19,5 +19,6 @@ with lib; {
|
|||
./mealie.nix
|
||||
./dufs.nix
|
||||
./isso.nix
|
||||
./miniflux.nix
|
||||
];
|
||||
}
|
||||
|
|
33
sys/platforms/vps/srv/miniflux.nix
Normal file
33
sys/platforms/vps/srv/miniflux.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; {
|
||||
services = {
|
||||
nginx = {
|
||||
virtualHosts."rss.posixlycorrect.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
extraConfig = ''
|
||||
proxy_headers_hash_max_size 512;
|
||||
proxy_headers_hash_bucket_size 128;
|
||||
'';
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8087";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
miniflux = {
|
||||
enable = true;
|
||||
adminCredentialsFile = "/var/trust/miniflux/adminCredentialsFile";
|
||||
config = {
|
||||
CLEANUP_FREQUENCY = 48;
|
||||
LISTEN_ADDR = "127.0.0.1:8087";
|
||||
BASE_URL = "https://rss.posixlycorrect.com";
|
||||
CREATE_ADMIN = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue