From c29ad5d32375f7ef700a8dcd1e8a7ef23beebf18 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 30 Apr 2024 18:32:38 -0500 Subject: [PATCH] Update 1password secret --- nixos/telperion/configuration.nix | 9 ++++----- secrets.yaml | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/nixos/telperion/configuration.nix b/nixos/telperion/configuration.nix index 393fb95..9b094d1 100644 --- a/nixos/telperion/configuration.nix +++ b/nixos/telperion/configuration.nix @@ -21,9 +21,8 @@ owner = config.users.users.named.name; inherit (config.users.users.named) group; }; - "onepassword-credentials-json" = { - owner = "nm-iodine"; - group = "nscd"; + "1password-credentials.json" = { + mode = "0444"; }; }; }; @@ -150,7 +149,7 @@ autoStart = true; ports = [ "8080:8080" ]; volumes = [ - "${config.sops.secrets."onepassword-credentials-json".path}:/home/opuser/.op/1password-credentials.json" + "${config.sops.secrets."1password-credentials.json".path}:/home/opuser/.op/1password-credentials.json" "/var/lib/onepassword-connect:/home/opuser/.op/data" ]; }; @@ -160,7 +159,7 @@ autoStart = true; ports = [ "8081:8080" ]; volumes = [ - "${config.sops.secrets."onepassword-credentials-json".path}:/home/opuser/.op/1password-credentials.json" + "${config.sops.secrets."1password-credentials.json".path}:/home/opuser/.op/1password-credentials.json" "/var/lib/onepassword-connect:/home/opuser/.op/data" ]; }; diff --git a/secrets.yaml b/secrets.yaml index 8df060e..cb14774 100644 --- a/secrets.yaml +++ b/secrets.yaml @@ -1,4 +1,4 @@ -onepassword-credentials-json: ENC[AES256_GCM,data:rPVEuV77VAoBrielyiJZNiJbm4P5BLoTNl6ZPseiq6F/muaWrhEg6x0T1tyqU6uE3NixWamvAAzhXLcDAPIK03mBi4veHfaHdH2UB0snISIW6rdOJOCRBpiay5X8oDGKgt2/4/iqp8XAOoo4fPtohp0ukl/N8qRF431wWjlIJEGzkT758ZkgAkYPQEI5Wd1zES+zCievSOXP/yQmWIMWUlEpAdiSyDwFjt8BaIO7tLl5Xght5iHq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UiZePw== -----END AGE ENCRYPTED FILE----- - lastmodified: "2024-04-30T21:03:59Z" - mac: ENC[AES256_GCM,data:FSJr15N5RDrX+5Mnth+Rti5opEdbkON4faBIZw1D7C1O7G6c7FAqijCh/NhQAkqOutaUWQ7E/BAO1gZ/h0sPdi37WH5fg6sfPkY5zOZ0qf1DiWWu6JHMO3JJhI3wfJMLmmbeLsZjKSEfRyExAPZa4qrZM4+FWA/GyY87T4ZMGu4=,iv:sW98vMQrTRWy7S8ybm24lhIZTm41FlbttT4nVxXOEI8=,tag:ezvRbQwVhJL71kq6OBZ26g==,type:str] + lastmodified: "2024-04-30T23:29:09Z" + mac: ENC[AES256_GCM,data:x4ElnDRzdwcSf1qNZ6MNPzqDJwtAvQyc/ugrfxpdGyS/PxfhZPcTKshdl1xS6dhAfARVa2Wo343vKJ5fOA/9XNPqa4JL2i9bv1qmd23hgPkz4fFtZ1y5eWUKf2/yaRJrssi1CBQqZWMPPLgggokE80cGOMvD/F5KtcdIhnZjBQI=,iv:VrOtAFB8+Jm7H0JBlo6FsWKXmBZSOkGKuAfIZPbfDy4=,tag:qYJenhFym4iCeXLJqATu0Q==,type:str] pgp: [] unencrypted_suffix: _unencrypted version: 3.8.1