fix: update secrets approach to match 'nix-secrets'

This commit is contained in:
2026-04-17 12:47:17 +02:00
parent db116cc4de
commit faf3afad79
17 changed files with 268 additions and 180 deletions
+11
View File
@@ -0,0 +1,11 @@
{ config, myUtils, ... }:
let
inherit (config.secrets) sopsDir username;
owner = config.users.users.${username}.name;
in
{
config.sops = {
secrets = myUtils.mkSopsSecrets sopsDir "anki" [ "sync-user" "sync-key" ] { inherit owner; };
};
}