From 5f982c7047c5db419e687dc550be9ac721a630f1 Mon Sep 17 00:00:00 2001 From: caem Date: Mon, 20 Jan 2025 00:21:26 +0100 Subject: [PATCH] hopefully this works --- modules/nixos/core/security.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos/core/security.nix b/modules/nixos/core/security.nix index 2270161..64a7771 100644 --- a/modules/nixos/core/security.nix +++ b/modules/nixos/core/security.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ inputs, lib, ... }: { programs.gnupg.agent = { @@ -31,7 +31,7 @@ }; sops = { - defaultSopsFile = inputs.secrets.path; + defaultSopsFile = lib.mkFirst inputs.secrets.path; age.keyFile = "/nix/config/keys.txt"; }; }