fix(modules): update activationScript for sharkey service

Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
Jo 2024-09-26 00:17:48 +02:00
parent c13fd18145
commit 8f7a566f44

View file

@ -30,9 +30,8 @@ in {
"d /var/lib/containers/sharkey 0700 991 991 -"
];
# Copy files from homepageConfigDirectory to the target directory
system.activationScripts.homepage = ''
cp -r ${homepageConfigDirectory}/* /var/lib/containers/sharkey/
system.activationScripts.sharkey-web = ''
cp ${config.sops.secrets.sharkey-config.path} /var/lib/containers/sharkey/.config/default.yml
'';
virtualisation.oci-containers.containers.sharkey-web = {