From 2ce94b0e7abd4138d6d661ca4fb623d53d3d38fa Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 7 Feb 2026 17:39:33 +0100 Subject: [PATCH] Fix pathing issues --- nix-system-configs/modules/secrets/sops-nix.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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