unix ports cool

This commit is contained in:
Gerg-L 2023-09-20 22:46:06 -04:00
parent 2fc4baa6ee
commit d47fc2217a
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
5 changed files with 37 additions and 62 deletions

View file

@ -4,10 +4,7 @@ _: {
pkgs,
...
}: {
sops.secrets.minifluxenv = {
owner = "miniflux";
group = "miniflux";
};
sops.secrets.minifluxenv.owner = "miniflux";
systemd.services = {
miniflux = {
@ -48,6 +45,7 @@ _: {
};
environment = {
BASE_URL = "https://flux.gerg-l.com";
LISTEN_ADDR = "/run/miniflux/miniflux.sock";
DATABASE_URL = "user=miniflux host=/run/postgresql dbname=miniflux";
RUN_MIGRATIONS = "1";
@ -74,6 +72,7 @@ _: {
users = {
miniflux = {
group = "miniflux";
extraGroups = ["postgres"];
isSystemUser = true;
uid = 377;
};