diff --git a/nix-system-configs/modules/secrets/sops-nix.nix b/nix-system-configs/modules/secrets/sops-nix.nix index 470539c..c624d10 100644 --- a/nix-system-configs/modules/secrets/sops-nix.nix +++ b/nix-system-configs/modules/secrets/sops-nix.nix @@ -18,9 +18,9 @@ # This will add secrets.yml to the nix store # You can avoid this by adding a string to the full path instead, i.e. # sops.defaultSopsFile = "/root/.sops/secrets/example.yaml"; - sops.defaultSopsFile = ./secrets/songsheet/secrets.yaml; + sops.defaultSopsFile = ../../secrets/songsheet/secrets.yaml; # This will automatically import SSH keys as age keys - sops.age.sshKeyPaths = [ "~/.ssh/ssh_host_ed25519_key" ]; + sops.age.sshKeyPaths = [ "~/.ssh/id_ed25519.pub" ]; # This is using an age key that is expected to already be in the filesystem sops.age.keyFile = "/var/lib/sops-nix/key.txt"; # This will generate a new key if the key specified above does not exist