From a110fa37bc43b75c93c02f6df46da0b29d34fc7a Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sat, 7 Feb 2026 17:58:25 +0100 Subject: [PATCH] sops-nix and compose2nix my beloveloathed --- nix-system-configs/modules/secrets-config/sops-nix.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nix-system-configs/modules/secrets-config/sops-nix.nix b/nix-system-configs/modules/secrets-config/sops-nix.nix index fb6f398..1bf326c 100644 --- a/nix-system-configs/modules/secrets-config/sops-nix.nix +++ b/nix-system-configs/modules/secrets-config/sops-nix.nix @@ -25,5 +25,8 @@ sops.age.keyFile = "/var/lib/sops-nix/key.txt"; # This will generate a new key if the key specified above does not exist sops.age.generateKey = true; - sops.secrets."songsheet/database" = {}; -} + # Use the flat key name with quotes + sops.secrets."songsheet/database" = { + key = "songsheet/database"; + }; + }