sops: first secret integration (nix-settings)
This commit is contained in:
parent
e8e402e9b7
commit
8914fa79ed
10 changed files with 86 additions and 5 deletions
|
|
@ -8,6 +8,7 @@ in
|
|||
imports = [
|
||||
../common/nix-settings.nix
|
||||
../common/angrr.nix
|
||||
./sops.nix
|
||||
];
|
||||
nix = {
|
||||
enable = true;
|
||||
|
|
|
|||
13
darwin/sops.nix
Normal file
13
darwin/sops.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
sops = {
|
||||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
defaultSopsFile = lib.mkDefault ./secrets.yaml;
|
||||
defaultSopsFormat = "yaml"; # is the default. ini had some template rendering issues in practice
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue