From 6449d2c52fa1d60bd5efbdb6aa700dc2ce1a9288 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Sat, 14 Dec 2024 04:20:59 +0530 Subject: [PATCH] feat: Don't use hardcoded home dir for sops --- common/sops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/sops.nix b/common/sops.nix index e6d12d09..2c4f4fd7 100644 --- a/common/sops.nix +++ b/common/sops.nix @@ -10,7 +10,7 @@ sops = { defaultSopsFile = ../secrets/secrets.yaml; defaultSopsFormat = "yaml"; - age.keyFile = "/Users/fs0c131y/.config/sops/age/keys.txt"; + age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt"; secrets."llama/api_key" = {}; secrets."openai/api_key" = {}; };