forked from Zynh0722/permafrost
17 lines
282 B
Nix
17 lines
282 B
Nix
|
{ inputs, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
inputs.sops-nix.nixosModules.sops
|
||
|
];
|
||
|
|
||
|
sops = {
|
||
|
defaultSopsFile = ../secrets.yaml;
|
||
|
age = {
|
||
|
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||
|
keyFile = "/var/lib/sops-nix/key.txt";
|
||
|
generateKey = true;
|
||
|
};
|
||
|
};
|
||
|
}
|