mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/ni/services/rss-reader: add helper script
This commit is contained in:
parent
4a21a0a136
commit
695ceb8bfe
@ -29,5 +29,14 @@ in
|
|||||||
services.nginx.virtualHosts."rss.ni.local" = {
|
services.nginx.virtualHosts."rss.ni.local" = {
|
||||||
locations."/".proxyPass = "http://ni.local:${builtins.toString port}";
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user