forked from Fachschaft/nixConfig
45 lines
952 B
Nix
45 lines
952 B
Nix
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/mail.nix
|
|
../../roles
|
|
../../roles/vm.nix
|
|
../../modules/vmNetwork.nix
|
|
];
|
|
|
|
# System configuration here
|
|
|
|
services.mathebau-mail = {
|
|
enable = true;
|
|
fqdn = "fb04184.mathematik.tu-darmstadt.de";
|
|
domain = "koma89.tu-darmstadt.de";
|
|
siteOwner = "root@mathebau.de";
|
|
};
|
|
|
|
networking.hostName = "kaalut";
|
|
vmNetwork.ipv4 = "192.168.0.17";
|
|
system.stateVersion = "24.05";
|
|
|
|
sops.secrets = {
|
|
/*
|
|
allowlistPass = {
|
|
sopsFile = ./allowlistPass.yaml;
|
|
owner = "stalwart-mail";
|
|
group = "stalwart-mail";
|
|
mode = "0400";
|
|
};
|
|
backupKey = {
|
|
sopsFile = ./backupKey.yaml;
|
|
owner = "stalwart-mail";
|
|
group = "stalwart-mail";
|
|
mode = "0400";
|
|
};
|
|
*/
|
|
fallbackadmin = {
|
|
sopsFile = ./fallbackadmin.yaml;
|
|
owner = "stalwart-mail";
|
|
group = "stalwart-mail";
|
|
mode = "0400";
|
|
};
|
|
};
|
|
}
|