mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
unix ports cool
This commit is contained in:
parent
2fc4baa6ee
commit
d47fc2217a
5 changed files with 37 additions and 62 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue