diff --git a/base/secrets.nix b/base/secrets.nix index ea45034..25287fc 100644 --- a/base/secrets.nix +++ b/base/secrets.nix @@ -12,7 +12,7 @@ with lib; { imports = [ inputs.sops-nix.nixosModules.sops ]; - sops.defaultSopsFile = ./secrets/secrets.yaml; + sops.defaultSopsFile = ../secrets/${config.networking.hostName}.yml; sops.defaultSopsFormat = "yaml"; sops.age.keyFile = "/home/etorres/.config/sops/age/keys.txt"; }