From f89c1a5bf13b76dd8908d104c83a107c29d8a27e Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Sun, 22 Aug 2021 21:17:22 +0200 Subject: [PATCH] modules/sops: activation after specialfs * ensure mounted /run before running setup-secrets --- modules/sops/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sops/default.nix b/modules/sops/default.nix index 557f929..37069fc 100644 --- a/modules/sops/default.nix +++ b/modules/sops/default.nix @@ -168,7 +168,7 @@ in { system.activationScripts.setup-secrets = let sops-install-secrets = (pkgs.callPackage ../.. {}).sops-install-secrets; - in stringAfter [ "users" "groups" ] '' + in stringAfter [ "specialfs" "users" "groups" ] '' echo setting up secrets... ${optionalString (cfg.gnupgHome != null) "SOPS_GPG_EXEC=${pkgs.gnupg}/bin/gpg"} ${sops-install-secrets}/bin/sops-install-secrets ${checkedManifest} '';