base/secrets: fix key read path

This commit is contained in:
2025-08-21 23:33:55 -07:00
parent 4d8d65650e
commit 1a3a8ffc60

View File

@@ -12,7 +12,7 @@ with lib;
{ {
imports = [ inputs.sops-nix.nixosModules.sops ]; imports = [ inputs.sops-nix.nixosModules.sops ];
sops.defaultSopsFile = ./secrets/secrets.yaml; sops.defaultSopsFile = ../secrets/${config.networking.hostName}.yml;
sops.defaultSopsFormat = "yaml"; sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/home/etorres/.config/sops/age/keys.txt"; sops.age.keyFile = "/home/etorres/.config/sops/age/keys.txt";
} }