forked from fi/nix-infra
Migrate nextcloud to sops-nix
This commit is contained in:
parent
7740eb01f2
commit
b5d6055f36
3 changed files with 39 additions and 23 deletions
|
|
@ -7,7 +7,7 @@
|
|||
https = true;
|
||||
config = {
|
||||
dbtype = "pgsql";
|
||||
adminpassFile = "/secrets/nextcloud-adminpass.secret";
|
||||
adminpassFile = "/run/secrets/nextcloud-adminpass";
|
||||
};
|
||||
database.createLocally = true;
|
||||
configureRedis = true;
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
default_phone_region = "DE";
|
||||
};
|
||||
# Only contains mail_smtppassword
|
||||
secretFile = "/secrets/nextcloud-secretfile.secret";
|
||||
secretFile = "/run/secrets/nextcloud-secretfile";
|
||||
phpOptions = {
|
||||
# The amount of memory for interned strings in Mbytes
|
||||
"opcache.interned_strings_buffer" = "64";
|
||||
|
|
@ -50,4 +50,15 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
|
||||
sops.secrets."nextcloud-adminpass" = {
|
||||
mode = "0440";
|
||||
owner = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
sops.secrets."nextcloud-secretfile" = {
|
||||
mode = "0440";
|
||||
owner = "nextcloud";
|
||||
group = "nextcloud";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue