tsuki/configuration: use sops templates for cirno drive creds

This commit is contained in:
Oystein Kristoffer Tveit 2024-11-29 00:27:44 +01:00
parent edf81976ac
commit fac13db8cb
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 8 additions and 4 deletions

View File

@ -78,7 +78,11 @@
};
};
sops.secrets."drives/cirno/credentials" = {};
sops.secrets."drives/cirno/password" = { };
sops.templates."drive-cirno.creds".content = ''
username=h7x4
password=${config.sops.placeholder."drives/cirno/password"}
'';
virtualisation = {

View File

@ -16,7 +16,7 @@ cloudflare:
api-key: ENC[AES256_GCM,data:Y1sHbPTUSiFzRyAiwk0ycFdM4s9ET5g/RPjVsb3sHXMlc3AJHDBYhTljyytZ1lCoFz7OdcZcUOHWzgvHtce6yXiGUpmo34XBKZqloFlNA5u6XC2UG31qfuUEWpRZb0kL,iv:iwN243uzSCjl5Za1msKbaC4pPAOE8frZ2WEvgZ5xknA=,tag:q32vyQI7SOFoN6s1RjQV5A==,type:str]
drives:
cirno:
credentials: ENC[AES256_GCM,data:1tFmdgztl4vPkOi1morbBUDzqOJs4TRBs+Msm3GRp9heFHUT650DUza3c7M=,iv:XdpMdf1BmVHKno0k0juG0aB6Yt1BrYvYnzKmV7SMEQo=,tag:PKIFf3gDilvner0prBodzQ==,type:str]
password: ENC[AES256_GCM,data:yjVKyQjjx+QRcmQ9rstj9jbaT98=,iv:ShndxvfNY7g9RwErchZteMBaaMxW0Nl+OSb1+RghCkY=,tag:Rwoq8gimOmMo+T5Jo2kOsw==,type:str]
nextcloud:
initialPassword: ENC[AES256_GCM,data:w0yc/Y+qjJ5gPc20mQ1SO7eB/0q1fY5IvifsMqz/mqbmV9cWsjTpNhKN21g=,iv:1BtNSCF+z1FLhDDjkzSLFRemUiJYgJNi8Xen+QYuoSE=,tag:IUI8ipb56YZrd4GOTHxOWw==,type:str]
postgres:
@ -56,8 +56,8 @@ sops:
MThmQ1Iza0F6Q0Y4N1JpT2V5a0FrTGMKIzpNe4dyCLuyKjjXjadZepRYvULr3j3i
7SSwFgVvESj0aVwcGMW1swkhdb2evZgcghhrJpiK8kKIPrWEuFiCcw==
-----END AGE ENCRYPTED FILE-----
lastmodified: "2024-11-28T23:15:15Z"
mac: ENC[AES256_GCM,data:fG5F0YWkCEc8HdJHx+EVeIMB8u/Lab9mV1Kp3+n1iCWmia9CmlAyrQipexVcgObMJ5GUX2c3sMcMqJiv83HsExtiPz8Ut5oAXltSdJWzUWS0e0+NbokEIGUha/+eMeCvu7phjmuzmEgiXHe/OwWz1wJh+J6eI1SGz2TsKy3/5Nk=,iv:xx2DycXq8hUUiXXC1e5fMcqsHJOtB1uiK8+gO9E/mVs=,tag:tZrxW3TrWq79MZZFvUoaDg==,type:str]
lastmodified: "2024-11-28T23:23:32Z"
mac: ENC[AES256_GCM,data:lA4bB1kaZKeau71Fa7ZhUusoZ+jhF405N6cJap/EEQ3EYIDEwK9hYYGZas+AsrvQ/0HW9lDXI/LliVMUxpEWuOoizaK1gW+ZxVz7jsgoSINILU3I6ZJewcPXh5fbwRS6g5+HEVJ53ozXxcnyVx+jpE7Rysfe9wK+kAk90NL0i5c=,iv:/Ltl/Gcm3QDhsK6MnZqKo/UWjwFVPYENc5xKW38jLxk=,tag:Hly2g9tVihTfwqjJb2e+Dw==,type:str]
pgp:
- created_at: "2024-06-25T17:16:27Z"
enc: |-