tmpfiles ftw (again)

This commit is contained in:
Ingolf Wagner 2024-06-05 17:40:02 +02:00
parent dc5418f3aa
commit 8ca4f5a568
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 3 additions and 6 deletions

View file

@ -88,15 +88,13 @@ in
#environment.etc."resolv.conf".text = "nameserver 8.8.8.8";
systemd.tmpfiles.settings.nextcloud = {
"/run/secrets/nextcloud.root".C = {
type = "C";
"/run/secrets/nextcloud.root"."C+" = {
user = "nextcloud";
group = "nextcloud";
mode = "400";
argument = "/run/secrets/nextcloud.root.input";
};
"/run/secrets/nextcloud.database".C = {
type = "C";
"/run/secrets/nextcloud.database"."C+" = {
user = "nextcloud";
group = "nextcloud";
mode = "400";

View file

@ -70,8 +70,7 @@ in
system.stateVersion = "23.11";
systemd.tmpfiles.settings.nextcloud = {
"/run/secrets/matrix-shared-secret".C = {
type = "C";
"/run/secrets/matrix-shared-secret"."C+" = {
user = "matrix-synapse";
group = "matrix-synapse";
mode = "400";