diff --git a/hosts/bekkalokk/services/webmail/roundcube.nix b/hosts/bekkalokk/services/webmail/roundcube.nix index 878bdd7..6212ccd 100644 --- a/hosts/bekkalokk/services/webmail/roundcube.nix +++ b/hosts/bekkalokk/services/webmail/roundcube.nix @@ -6,6 +6,11 @@ let domain = "webmail.pvv.ntnu.no"; in { + sops.secrets."roundcube/postgres_password" = { + owner = "nginx"; + group = "nginx"; + }; + services.roundcube = { enable = true; @@ -22,6 +27,7 @@ in database = { host = "postgres.pvv.ntnu.no"; + passwordFile = config.sops.secrets."roundcube/postgres_password".path; }; extraConfig = '' diff --git a/secrets/bekkalokk/bekkalokk.yaml b/secrets/bekkalokk/bekkalokk.yaml index d77a151..2f05c97 100644 --- a/secrets/bekkalokk/bekkalokk.yaml +++ b/secrets/bekkalokk/bekkalokk.yaml @@ -18,6 +18,8 @@ mediawiki: postgres_password: ENC[AES256_GCM,data:FzykBVtJbA+Bey1GE5VqnSuv2GeobH1j,iv:wayQH3+y0FYFkr3JjmulI53SADk0Ikur/2mUS5kFrTk=,tag:d+nQ/se2bDA5aaQfBicnPQ==,type:str] cookie_salt: ENC[AES256_GCM,data:BioRPAvL4F9ORBJDFdqHot81RhVpAOf32v1ah3pvOLq8E88bxGyKFQZxAwpIL3UkWQIsWMnEerm5MEMYL1C2OQ==,iv:yMVqiPTQ8hO1IVAax6PIkD0V9YTOEunwDTtnGcmy6Kc=,tag:Z4+bZF4olLlkx7YpXeQiUw==,type:str] admin_password: ENC[AES256_GCM,data:4eUXvcO7NLOWke9XShfKzj+x3FvqPONa,iv:3iZ+BTBTZ7yMJ0HT14cEMebKZattWUcYEevRsl/6WOk=,tag:CU0iDhPP2ndztdX5U5A4cw==,type:str] +roundcube: + postgres_password: ENC[AES256_GCM,data:4hX0AylqMJhl6ddNPnNBLSF5/DS51MhdjJcKMpJOCX42RZj4+EoG3Rv17bQ0nl8iXVQXVwPdefKblTlQwn90Sw==,iv:vhiRtxMFVtCp2jsOAWgBCtF6VTxsZSgotZhE4sSePzY=,tag:hH1IiU140crFD75AVQr0sw==,type:str] idp: cookie_salt: ENC[AES256_GCM,data:cyV6HDCPHKQIa8T1+rFBFh6EuHtG5B508lg6uFYENK7qVpYuiTUIokdVQhY8SRLs2mECx/ampgnUHxCRB/Cc/A==,iv:QRrRUhzRQrLkmg38rrYtCEfF8U4/7ZHZUDSEq++BlbI=,tag:fLqFSLd+CKqJvmCh1fx8vg==,type:str] admin_password: ENC[AES256_GCM,data:Vf33Oenk6x6BIij1uW8RQDjTPcKhUVYA,iv:RNeyCNpTAYdBPrZwE3Y6CCjoAML/3XUvjfJCrr06IEU=,tag:zVOrx1oXnEyr/VwFCFaCDQ==,type:str] @@ -95,8 +97,8 @@ sops: UHpLRkdQTnhkeGlWVG9VS1hkWktyckEKAdwnA9URLYZ50lMtXrU9Q09d0L3Zfsyr 4UsvjjdnFtsXwEZ9ZzOQrpiN0Oz24s3csw5KckDni6kslaloJZsLGg== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-09-01T01:33:50Z" - mac: ENC[AES256_GCM,data:PkcOD9hJWD5tILO9PuZkOgIoujt4q2qtHBB9KF8ikrNKo0yw24Jf1ceI5/+BHCxhdi8sF4qQM/zty61zqwNaBsvrsLUkdWDwUDsuJQa1KKZiCEZPqYBc+qGIQ5wNPsU2zJ0c8+wU8H0LtGqKOH9GmaQtTdm0Rt2IcexV823uTjQ=,iv:GYTI85OgqnN8iUc6OOXO7Sz2XIthWJtz8zwMuWutEYs=,tag:2rhfhjXXzZLzoVlkINo0ZQ==,type:str] + lastmodified: "2024-10-12T21:00:55Z" + mac: ENC[AES256_GCM,data:mctq0FOkpTNbwXzA5fUOp7usYaYtaS62K0vaECaNJwQwK7gwOjlkKwipFSXUSCWRjiEpewmDRoHOCfgRc2zNvT+UAzQKxL70Thq+twq6Y4PC36hi9OrOW8e9SbrTlNl23hSk/n7ao2te5x0+0MG/G1btxJ0GbMnOE0piC4Ld6P4=,iv:9OBPQqwJlRrOtDztL69ol/88xVxGn4AJRtsnLbfvjjU=,tag:4o1vFZDuGwGs0KcFUnfYXA==,type:str] pgp: - created_at: "2024-08-04T00:03:28Z" enc: |- @@ -119,4 +121,4 @@ sops: -----END PGP MESSAGE----- fp: F7D37890228A907440E1FD4846B9228E814A2AAC unencrypted_suffix: _unencrypted - version: 3.9.0 + version: 3.9.1