fix(miniflux): fix port stringification

This commit is contained in:
Felix Schröter 2021-12-12 16:04:58 +01:00
parent d554755013
commit e91a7e9621
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -5,14 +5,14 @@ in {
services.miniflux = {
enable = true;
adminCredentialsFile = "/etc/nixos/secrets/miniflux";
config = { LISTEN_ADDR = "localhost:${port}"; };
config = { LISTEN_ADDR = "localhost:${toString port}"; };
};
services.nginx = {
virtualHosts."news.felschr.com" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:${port}";
locations."/".proxyPass = "http://localhost:${toString port}";
};
};
}