taking users from system user definition

This commit is contained in:
revol-xut 2022-09-06 17:22:08 +02:00
parent 87bd442eed
commit 7114dda9f4
No known key found for this signature in database
GPG key ID: 4F56FF7759627D07

View file

@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
{ {
sops.secrets.postgres_mediawiki.owner = config.systemd.services.mediawiki.serviceConfig.User; sops.secrets.postgres_mediawiki.owner = config.users.users.mediawiki.name;
sops.secrets.mediawiki_initial_admin.owner = config.systemd.services.mediawiki.serviceConfig.User; sops.secrets.mediawiki_initial_admin.owner = config.users.users.mediawiki.name;
services = { services = {
mediawiki = { mediawiki = {
enable = true; enable = true;