mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
feat: sops-nix configuration
encrypt personal ssh key for git
This commit is contained in:
parent
f86b032c4c
commit
63a3bb6e98
10 changed files with 98 additions and 91 deletions
12
home/sops.nix
Normal file
12
home/sops.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
sops = {
|
||||
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
|
||||
|
||||
defaultSopsFile = ../secrets/poby.yaml;
|
||||
|
||||
secrets = {
|
||||
"github_ssh_key" = { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue