mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 21:19:07 +01:00
sops: Rename secrets option to secretsData
This commit is contained in:
parent
3af7d23a46
commit
4887e06117
5 changed files with 10 additions and 10 deletions
|
|
@ -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; });
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue