update agenix shell pinning as a workaround for agenix las version not being properly push to nixpkgs

This commit is contained in:
asyncnomi 2025-07-31 16:42:42 +02:00
parent 4e6ca1355b
commit 6525887058
4 changed files with 40 additions and 1 deletions

7
shared/mail.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
# Import dependencies
imports = [
./mail/maddy.nix
];
}

21
shared/mail/maddy.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, lib, pkgs, ... }:
let
# Import nodes
nodes = import ./../../nodes.nix;
myName = config.hostName;
myNode = nodes."${myName}";
# And mapping
mapping = import ./../../mapping.nix;
in
{
age.secrets = {
"tsig" = {
file = ./../../secrets/mail/tsig.age;
owner = "knot";
group = "knot";
};
};
}