forked from fi/nix-infra
Add nextcloud host
This commit is contained in:
parent
093a44edf4
commit
0a5d070773
7 changed files with 79 additions and 2 deletions
11
hosts/nextcloud/secrets.nix
Normal file
11
hosts/nextcloud/secrets.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ ... }:
|
||||
{
|
||||
deployment.keys."nextcloud-adminpass.secret" = {
|
||||
keyCommand = [ "env" "GNUPGHOME=/home/yuri/.passinfra_gnupg" "PASSWORD_STORE_DIR=/home/yuri/pass/infra" "pass" "nextcloud/adminpass" ];
|
||||
destDir = "/secrets";
|
||||
user = "nextcloud";
|
||||
group = "nextcloud";
|
||||
permissions = "0640";
|
||||
uploadAt = "pre-activation";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue