X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=flakes%2Fprivate%2Fopendmarc%2Fflake.nix;h=e2575e7f56d7089b5798fc6e530415637d4b95c4;hp=2b73070f5df0cde63ca46aa2eaf9ddcb2acff151;hb=4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0;hpb=da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 diff --git a/flakes/private/opendmarc/flake.nix b/flakes/private/opendmarc/flake.nix index 2b73070..e2575e7 100644 --- a/flakes/private/opendmarc/flake.nix +++ b/flakes/private/opendmarc/flake.nix @@ -53,9 +53,8 @@ config.secrets.fullPaths."opendmarc/ignore.hosts" ]; }; - secrets.keys = [ - { - dest = "opendmarc/ignore.hosts"; + secrets.keys = { + "opendmarc/ignore.hosts" = { user = config.services.opendmarc.user; group = config.services.opendmarc.group; permissions = "0400"; @@ -67,8 +66,8 @@ builtins.concatStringsSep "\n" ([ config.myEnv.mail.dmarc.ignore_hosts ] ++ lib.mapAttrsToList (n: v: v.fqdn) mxes); - } - ]; + }; + }; }; }; in