mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
add minio
This commit is contained in:
parent
3d20b0fc3d
commit
9c55432be1
8 changed files with 18 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -2,3 +2,4 @@
|
|||
*.yml linguist-detectable
|
||||
|
||||
/secrets/** filter=git-crypt diff=git-crypt
|
||||
/newinfra/secrets-git-crypt/** filter=git-crypt diff=git-crypt
|
||||
|
|
|
|||
|
|
@ -117,6 +117,7 @@
|
|||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
./modules/contabo
|
||||
./modules/ingress
|
||||
./modules/minio
|
||||
./modules/widetom
|
||||
];
|
||||
|
||||
|
|
|
|||
9
newinfra/nix/modules/minio/default.nix
Normal file
9
newinfra/nix/modules/minio/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, ... }: {
|
||||
age.secrets.minio_env_file.file = ../../secrets/minio_env_file.age;
|
||||
|
||||
services.minio = {
|
||||
enable = true;
|
||||
region = "eu";
|
||||
rootCredentialsFile = config.age.secrets.minio_env_file.path;
|
||||
};
|
||||
}
|
||||
6
newinfra/nix/secrets/minio_env_file.age
Normal file
6
newinfra/nix/secrets/minio_env_file.age
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 cVCt6g aURyPoqVOIH8dVpkyn+mb8rxwv1hw2hazAgLj/qDxzM
|
||||
bOkR3mOiK9pA8CQxTGLpd52UyrTWvZ4cPz4m/khin5w
|
||||
--- ALJ+6QKzH/CrCZ8FzdeWFRFZKFt6YOF0bKpLri7yCpU
|
||||
ºòNB¤aøŸJya¹«ïÝß»Â8ôó—[<5B>½‹Õ‡é¶¼˜†Cɳ7X“¾<E2809C>³MB»ºC!«¶ÿc‹pm_wD¤äézÍoยîóHéª'›Ûi§ ã
|
||||
®…ÆóÓi8ÅýÉ›:t/=`OüªkZÒ±
|
||||
|
|
@ -5,4 +5,5 @@ in
|
|||
"widetom_bot_token.age".publicKeys = [ vps1 ];
|
||||
"widetom_config_toml.age".publicKeys = [ vps1 ];
|
||||
"docker_registry_password.age".publicKeys = [ vps1 ];
|
||||
"minio_env_file.age".publicKeys = [ vps1 ];
|
||||
}
|
||||
|
|
|
|||
BIN
newinfra/secrets-git-crypt/minio_env_file
Normal file
BIN
newinfra/secrets-git-crypt/minio_env_file
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue