tmpfiles ftw (again)
This commit is contained in:
parent
dc5418f3aa
commit
8ca4f5a568
2 changed files with 3 additions and 6 deletions
|
@ -88,15 +88,13 @@ in
|
||||||
#environment.etc."resolv.conf".text = "nameserver 8.8.8.8";
|
#environment.etc."resolv.conf".text = "nameserver 8.8.8.8";
|
||||||
|
|
||||||
systemd.tmpfiles.settings.nextcloud = {
|
systemd.tmpfiles.settings.nextcloud = {
|
||||||
"/run/secrets/nextcloud.root".C = {
|
"/run/secrets/nextcloud.root"."C+" = {
|
||||||
type = "C";
|
|
||||||
user = "nextcloud";
|
user = "nextcloud";
|
||||||
group = "nextcloud";
|
group = "nextcloud";
|
||||||
mode = "400";
|
mode = "400";
|
||||||
argument = "/run/secrets/nextcloud.root.input";
|
argument = "/run/secrets/nextcloud.root.input";
|
||||||
};
|
};
|
||||||
"/run/secrets/nextcloud.database".C = {
|
"/run/secrets/nextcloud.database"."C+" = {
|
||||||
type = "C";
|
|
||||||
user = "nextcloud";
|
user = "nextcloud";
|
||||||
group = "nextcloud";
|
group = "nextcloud";
|
||||||
mode = "400";
|
mode = "400";
|
||||||
|
|
|
@ -70,8 +70,7 @@ in
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
|
|
||||||
systemd.tmpfiles.settings.nextcloud = {
|
systemd.tmpfiles.settings.nextcloud = {
|
||||||
"/run/secrets/matrix-shared-secret".C = {
|
"/run/secrets/matrix-shared-secret"."C+" = {
|
||||||
type = "C";
|
|
||||||
user = "matrix-synapse";
|
user = "matrix-synapse";
|
||||||
group = "matrix-synapse";
|
group = "matrix-synapse";
|
||||||
mode = "400";
|
mode = "400";
|
||||||
|
|
Loading…
Reference in a new issue