diff options
Diffstat (limited to 'modules/hosts/lilith')
| -rw-r--r-- | modules/hosts/lilith/secrets.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/hosts/lilith/secrets.nix b/modules/hosts/lilith/secrets.nix new file mode 100644 index 0000000..b02dacc --- /dev/null +++ b/modules/hosts/lilith/secrets.nix @@ -0,0 +1,25 @@ +{ + flake.modules.darwin.lilith = + { inputs, ... }: + { + imports = [ inputs.sops-nix.darwinModules.sops ]; + sops = { + defaultSopsFile = inputs.self + /secrets/secrets.yaml; + age.keyFile = "/etc/sops/age_key"; + secrets = { + "ssh_github_key" = { + owner = "schererleander"; + mode = "0600"; + }; + "ssh_jonsbo_key" = { + owner = "schererleander"; + mode = "0600"; + }; + "ssh_sachiel_key" = { + owner = "schererleander"; + mode = "0600"; + }; + }; + }; + }; +} |
