From 3dd9084ee2c598741011181547257a91bb7e1283 Mon Sep 17 00:00:00 2001 From: Frank LoTurco Date: Fri, 23 Oct 2026 17:33:31 -0400 Subject: [PATCH] features/sops: fix deprecated call to pkgs.stdenv.isDarwin --- features/sops.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/features/sops.nix b/features/sops.nix index 12b935e..c2f6ff1 100644 --- a/features/sops.nix +++ b/features/sops.nix @@ -9,7 +9,10 @@ in age = { sshKeyPaths = [ ]; keyFile = - if pkgs.stdenv.isDarwin then "/usr/local/sops/age/keys.txt" else "/persist/sops/age/keys.txt"; + if pkgs.stdenv.hostPlatform.isDarwin then + "/usr/local/sops/age/keys.txt" + else + "/persist/sops/age/keys.txt"; }; secrets = {