Setup sops
This commit is contained in:
parent
3bb85d77de
commit
41cb36d15f
9 changed files with 163 additions and 34 deletions
|
|
@ -1,6 +1,15 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
sops.secrets."nextcloud/mail-json" = {
|
||||
sopsFile = ../secrets/nextcloud-mail.json;
|
||||
format = "json";
|
||||
key = "";
|
||||
owner = "root";
|
||||
group = "root";
|
||||
mode = "0400";
|
||||
};
|
||||
|
||||
services = {
|
||||
|
||||
nextcloud = {
|
||||
|
|
@ -64,7 +73,7 @@
|
|||
"opcache.max_accelerated_files" = "30000";
|
||||
};
|
||||
|
||||
secretFile = "/run/secrets/nextcloud-mail.json";
|
||||
secretFile = config.sops.secrets."nextcloud/mail-json".path;
|
||||
};
|
||||
|
||||
restic.backups.nextcloud = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue