use sops
for secret management
This commit is contained in:
parent
6eeea660f0
commit
cd820411c4
9 changed files with 95 additions and 25 deletions
13
nixos/sops.nix
Normal file
13
nixos/sops.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ user, ... }:
|
||||
{
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/secrets.yaml;
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
secrets = {
|
||||
"zipline" = {
|
||||
owner = user;
|
||||
path = "/home/${user}/.secrets/zipline";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue