sops: Rename secrets option to secretsData

This commit is contained in:
SebastianStork 2026-02-28 00:13:51 +01:00
parent 3af7d23a46
commit 4887e06117
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
5 changed files with 10 additions and 10 deletions

View file

@ -4,7 +4,7 @@
config = lib.mkIf config.custom.programs.git.enable {
sops.secrets =
config.custom.sops.secrets.ssh-key
config.custom.sops.secretsData.ssh-key
|> lib.mapAttrs' (
name: _: lib.nameValuePair "ssh-key/${name}" { path = "${config.home.homeDirectory}/.ssh/${name}"; }
);
@ -42,7 +42,7 @@
lazygit.enable = true;
ssh.matchBlocks =
config.custom.sops.secrets.ssh-key
config.custom.sops.secretsData.ssh-key
|> lib.mapAttrs (name: _: { identityFile = config.sops.secrets."ssh-key/${name}".path; });
};
};