From c59079e1f4559b599948c443fc9e0f8d7cffdb05 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Thu, 18 Sep 2025 20:50:03 -0600 Subject: [PATCH 1/2] vps: add miniflux --- sys/platforms/vps/srv/default.nix | 1 + sys/platforms/vps/srv/miniflux.nix | 33 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 sys/platforms/vps/srv/miniflux.nix diff --git a/sys/platforms/vps/srv/default.nix b/sys/platforms/vps/srv/default.nix index a4753d5..3f3510e 100644 --- a/sys/platforms/vps/srv/default.nix +++ b/sys/platforms/vps/srv/default.nix @@ -19,5 +19,6 @@ with lib; { ./mealie.nix ./dufs.nix ./isso.nix + ./miniflux.nix ]; } diff --git a/sys/platforms/vps/srv/miniflux.nix b/sys/platforms/vps/srv/miniflux.nix new file mode 100644 index 0000000..8712dc5 --- /dev/null +++ b/sys/platforms/vps/srv/miniflux.nix @@ -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; + }; + }; + }; +} From 34defccf4d718c0b9c7d43fdf38317e1c82b3912 Mon Sep 17 00:00:00 2001 From: Fabian Montero Date: Thu, 18 Sep 2025 21:14:59 -0600 Subject: [PATCH 2/2] posixlycorrect: update halloy channel list --- home/modules/halloy.nix | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/home/modules/halloy.nix b/home/modules/halloy.nix index e131eca..8005b3f 100644 --- a/home/modules/halloy.nix +++ b/home/modules/halloy.nix @@ -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" ]; }; };