universe/hosts/earth/secrets/default.nix

17 lines
347 B
Nix
Raw Normal View History

2025-03-02 19:00:36 +00:00
{inputs, ...}: {
imports = [
inputs.sops-nix.nixosModules.sops
];
sops = {
# defaultSopsFile = ./secrets.yaml;
age.keyFile = "/home/tx0/.age-key.txt";
secrets."awg0.conf" = {
format = "binary";
sopsFile = ./awg0.conf;
path = "/run/secrets.d/awg0.conf";
restartUnits = ["awg0.service"];
};
};
}