add sops and mail

This commit is contained in:
2026-09-25 14:32:09 -04:00
parent bab3cf7a5d
commit ec9335aec0
8 changed files with 134 additions and 5 deletions
+20
View File
@@ -0,0 +1,20 @@
{ config, lib, pkgs, ... }:
{
sops.defaultSopsFile = "../secrets.yaml";
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sops.secrets.cftoken = {
owner = "maddy";
group = "maddy";
mode = "0440";
restartUnits = [ "maddy.service" ];
};
sops.secrets.mxpass = {
owner = "maddy";
group = "maddy";
mode = "0440";
restartUnits = [ "maddy.service" ];
};
}