give continuwuity user permissions to read secrets

This commit is contained in:
Jurn Wubben 2025-05-25 20:42:39 +02:00
parent 01585c858e
commit 47cf846d48
3 changed files with 7 additions and 15 deletions

View file

@ -12,7 +12,12 @@
else "root";
};
password.file = ./password.age;
matrix-priv.file = ./matrix-priv.age;
matrix-registration.file = ./matrix-registration.age;
matrix-registration = {
file = ./matrix-registration.age;
owner =
if config.niksos.server
then config.services.matrix-continuwuity.user
else "root";
};
};
}