secrets: add sops
This commit is contained in:
parent
9fd65b02ba
commit
553ea251fa
9 changed files with 176 additions and 2 deletions
12
system/sops.nix
Normal file
12
system/sops.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
sops-master
|
||||
gnupg
|
||||
];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../secrets/test.yaml;
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue