diff --git a/modules/nixos/system/security/sops/default.nix b/modules/nixos/system/security/sops/default.nix index 1383681..aa64fd4 100644 --- a/modules/nixos/system/security/sops/default.nix +++ b/modules/nixos/system/security/sops/default.nix @@ -15,7 +15,7 @@ in sops = { age.keyFile = "/home/.sops-key.age"; - defaultSopsFile = ../../../../secrets/secrets.yaml; + defaultSopsFile = ../../../../systems/x86_64-linux/${config.networking.hostName}/secrets.yaml; defaultSopsFormat = "yaml"; };