From 7114dda9f45ce8c69ea42191a50f5c6e8d788762 Mon Sep 17 00:00:00 2001 From: revol-xut Date: Tue, 6 Sep 2022 17:22:08 +0200 Subject: [PATCH] taking users from system user definition --- modules/wiki.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/wiki.nix b/modules/wiki.nix index dee18f4..ed6ceb9 100644 --- a/modules/wiki.nix +++ b/modules/wiki.nix @@ -1,7 +1,7 @@ { config, pkgs, lib, ... }: { - sops.secrets.postgres_mediawiki.owner = config.systemd.services.mediawiki.serviceConfig.User; - sops.secrets.mediawiki_initial_admin.owner = config.systemd.services.mediawiki.serviceConfig.User; + sops.secrets.postgres_mediawiki.owner = config.users.users.mediawiki.name; + sops.secrets.mediawiki_initial_admin.owner = config.users.users.mediawiki.name; services = { mediawiki = { enable = true;