21 lines
No EOL
383 B
Nix
21 lines
No EOL
383 B
Nix
{ 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";
|
|
};
|
|
};
|
|
} |