mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 19:00:33 +01:00
22 lines
333 B
Nix
22 lines
333 B
Nix
{
|
|
inputs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
];
|
|
|
|
sops = {
|
|
defaultSopsFile = ../secrets.yaml;
|
|
validateSopsFiles = false;
|
|
|
|
age = {
|
|
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
|
keyFile = "/var/lib/sops/age/keys.txt";
|
|
generateKey = true;
|
|
};
|
|
};
|
|
}
|