hosts/ni/services/rss-reader: add helper script

This commit is contained in:
Gabriel Arazas 2025-01-15 14:00:26 +08:00
parent 4a21a0a136
commit 695ceb8bfe
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360

View File

@ -29,5 +29,14 @@ in
services.nginx.virtualHosts."rss.ni.local" = {
locations."/".proxyPass = "http://ni.local:${builtins.toString port}";
};
# Just make sure you execute this script as `miniflux` helper especially
# that it is configured with PostgreSQL.
wrapper-manager.packages.miniflux-helper = {
wrappers.miniflux-helper = {
arg0 = lib.getExe' config.services.miniflux.package "miniflux";
env = lib.mapAttrs (_: value: { value = builtins.toString value; }) config.services.miniflux.config;
};
};
};
}