From 1afa53239ab63c4f89c75d1cffa92ff0b928877a Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sat, 14 Oct 2023 23:24:16 +0200 Subject: [PATCH] magpie/sops: rename gitea secrets file --- magpie/configuration.nix | 6 +++--- magpie/secrets/gitea_mail.yaml | 21 --------------------- 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 magpie/secrets/gitea_mail.yaml diff --git a/magpie/configuration.nix b/magpie/configuration.nix index 4b2eb36..5ff3a23 100644 --- a/magpie/configuration.nix +++ b/magpie/configuration.nix @@ -64,7 +64,7 @@ # nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' loginAccounts = { "gitea@project-cloud.net" = { - hashedPasswordFile = config.sops.secrets."gitea_mail".password_hash.path; + hashedPasswordFile = config.sops.secrets."gitea_mail_pw_hash".path; aliases = ["git@project-cloud.net"]; }; }; @@ -210,8 +210,8 @@ sopsFile = ./secrets/miniflux.yaml; }; - sops.secrets."gitea_mail" = { - sopsFile = ./secrets/gitea_mail.yaml; + sops.secrets."gitea_mail_pw_hash" = { + sopsFile = ./secrets/gitea_mail_pw_hash.yaml; }; networking.hostName = "magpie"; diff --git a/magpie/secrets/gitea_mail.yaml b/magpie/secrets/gitea_mail.yaml deleted file mode 100644 index 38182e7..0000000 --- a/magpie/secrets/gitea_mail.yaml +++ /dev/null @@ -1,21 +0,0 @@ -password_hash: ENC[AES256_GCM,data:jA4aL3mulpy4A1nYJjJ882ZfOe08hB9M0bEL6pBOJsfs4xD4yHNMHdxbwy1ea0dMLPAfzvwonEqjZqLg,iv:GXpsyNb6ny81S06s3lWt88HOMwmUNDDujrFc/spM0t0=,tag:y+iOQY6JFHNZq1Xw6MCxRQ==,type:str] -sops: - kms: [] - gcp_kms: [] - azure_kv: [] - hc_vault: [] - age: - - recipient: age153y8mz6gqy5t54q4fnrdvjj4v5ls9cgp3hhpd2hzf5tvkcnncf6q4xns0j - enc: | - -----BEGIN AGE ENCRYPTED FILE----- - YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBCT2VyNWxUeUZ5aDdHcXJR - WGJVOGgyeC83MEV4REpGZkRUcVJKZDBqYmtjCllQdFhyRWNiTURYQmpucndFWDlr - WUFybGtmckNBdXYzMVZxT3lQM1k3aTgKLS0tIEpNZjU1RkpSOVo3Y1ovR0lmbHJu - bENVWmpCcTVqMDh2Wjhob2I2VzRRblkKPGCV1gRyihDCStM4tmvp89d996v1UzdJ - /NyK49//+uJJqwCEWuvHWWCB+EbkkOE6gPPKXZyXZSTbb/TDDcVF/Q== - -----END AGE ENCRYPTED FILE----- - lastmodified: "2023-10-14T21:17:25Z" - mac: ENC[AES256_GCM,data:AmCeOR3ZV+pwukA2oLfpIrCDmsAnVrjRy2hO5MgJXJ0oWKmZfY8X1FQoNBAjOZrMuNaL8o57HL7BxYljcIJpfQ67MZYdLu3a8+iuwrw8DQnfm3AJNxZOAaY4sRZsGcQVaA6KhyoODBRWKJ0Vo8ChKOc30aAFXoyMUZllluR2/ss=,iv:8BoJ4KJJdvBu2rXMCyt9HBwkptzZpQy7J/7E/PmxMbY=,tag:H3IUBCiJu1CPNb+0c0V9JQ==,type:str] - pgp: [] - unencrypted_suffix: _unencrypted - version: 3.7.3