21 lines
398 B
Nix
21 lines
398 B
Nix
{
|
|
inputs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [ inputs.sops-nix.nixosModules.sops ];
|
|
|
|
options.vacu.secretsFolder = lib.mkOption {
|
|
type = lib.types.path;
|
|
default = ../secrets;
|
|
defaultText = "<nix-stuff>/secrets";
|
|
};
|
|
|
|
config = {
|
|
# sops.defaultSopsFile = config.vacu.secretsFolder + "/liam/main.yaml";
|
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
};
|
|
}
|